mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Patrick Ale" <patrick.ale@gmail.com>
To: "Neil Brown" <neilb@suse.de>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PROBMEL] MD doesn't like /dev/disk/by-id
Date: Mon, 26 Feb 2007 10:23:04 +0100	[thread overview]
Message-ID: <8d158e1f0702260123y4380d88k3ca789efb0a91e3c@mail.gmail.com> (raw)
In-Reply-To: <17890.41662.486226.273826@notabene.brown>

On 2/26/07, Neil Brown <neilb@suse.de> wrote:
>   ARRAY /dev/md1 UUID=xxxxx:xxxxx:Xxxxxx:xxxxx
>
> and it should find the right devices and assemble them without
> problems.

That's my point, this is the *only* way working at the moment when
using mdadm --assemble , since /dev/disk/by-id* tells me no suiteable
drives, /dev/sd? DOES work but isnt reliable since /dev/sdl is not
always /dev/sdl but can be /dev/sdc the next reboot :D

>
> The only supported way to assemble arrays when md is a module is to
> use mdadm.  Mdadm has several ways to identify an array.  Check the
> man page.

I know, and i use mdadm. I used to use /dev/sd? since I did a simple
migration from raidtools to mdadm and this was the easiest way, then I
started to use libata which mangled my drive order every reboot, so I
got adviced to use /dev/disk/by-id/* , and now I am using UUID=some
128 bits hash here

> Suggestions for specific improvements to the md and mdadm documentation
> are always welcome.  Read mdadm.8 again and then tell me what you
> wanted it to tell you that wasn't clear.

Well, what I am kinda trying to say is: function that used to work
prior to 2.6.20 doesn't seem to be working anymore :D

mdadm -assemble doesn't work with /dev/disk/by-id/* is used.
And /dev/sd? is not useable due to the drive order not being the same
after every reboot, but this is more a libata/udev problem I guess.

I am in the train now, I will do the mdadm -v thingy as soon as I am
at a somewhat more stable connection than 2Mbit HDPSA

Patrick

      reply	other threads:[~2007-02-26  9:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-26  8:55 Patrick Ale
2007-02-26  9:05 ` Neil Brown
2007-02-26  9:23   ` Patrick Ale [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d158e1f0702260123y4380d88k3ca789efb0a91e3c@mail.gmail.com \
    --to=patrick.ale@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®