linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Christensen <jdc@uwo.ca>
To: linux-raid@vger.kernel.org
Subject: Re: naming of md devices
Date: Sun, 26 Mar 2006 14:34:34 -0500	[thread overview]
Message-ID: <87ek0p0zlh.fsf@uwo.ca> (raw)
In-Reply-To: 87hd5nnvd6.fsf@hades.wkstn.nix

Nix <nix@esperi.org.uk> writes:

> On 23 Mar 2006, Dan Christensen moaned:
>
>> I also tried putting root=LABEL=/ on my boot command line.  Debian's
>> kernel seemed to understand this but gave:
>> 
>> Begin: Waiting for root filesystem...
>> Done.
>> Done.
>> Begin: Mounting root filesystem
>> ...kernel autodetection of raid seemed to happen here...
>> ALERT /dev/disk/by_label// does not exist
>
> Ah, welcome to the udev problems. Look at the Debian kernel-maint list
> at lists.debian.org and marvel at the trouble they're having because
> they're using udev on their initramfs. I'm glad I used mdev instead :)

Yes, I'm understanding better what is going on.  First of all, / is
not a valid label.  (The relevant thing for udev is the "safe" output
of "vol_id /dev/md1".)  So I've changed the filesystem label to "root"
using tune2fs -L.

Second, the udev in Debian had support for persistent devices for one
brief release, but it has been taken out while problems with
ide-generic are being investigated.  

I put in my own initramfs hook script to put the appropriate udev
files in the initramfs image, but still I'm not getting the
/dev/disk/by_label/root symlink.  I can't figure out why this
isn't working.

>> BUT, my self-compiled kernel is now failing to bring up the arrays! 
>
> Without boot messages it's very hard to say what's going on. If you have
> another machine, you could try booting with the messages going over a
> serial console...

I may try that, but the stock Debian kernel is working for me so for
now I'll probably leave this unsolved.

Sorry that this is getting a bit off topic for the list.  Thanks
for all the help!

Dan


      reply	other threads:[~2006-03-26 19:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-22 17:39 naming of md devices Dan Christensen
2006-03-23  1:35 ` Nix
2006-03-23  2:07   ` dean gaudet
2006-03-23  2:37   ` Daniel Pittman
2006-03-25  1:53     ` Nix
2006-03-23  2:43   ` Dan Christensen
2006-03-25  1:52     ` Nix
2006-03-26 19:34       ` Dan Christensen [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=87ek0p0zlh.fsf@uwo.ca \
    --to=jdc@uwo.ca \
    --cc=linux-raid@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).