Re: RAID50 boot problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 23 Apr 2013 19:34:19 +0200 (CEST) Roy Sigurd Karlsbakk
<roy@xxxxxxxxxxxxx> wrote:

> > > > Please see http://paste.ubuntu.com/5721934/ for the full list,
> > > > taken
> > > > with network console. This is with rootdelay=10
> > >
> > > The "bind" messages are in random order so presumably udev running
> > > 'mdadm -I'
> > > on each device as it appear to add it to an array.
> > > However when the md0 and md1 devices appear, udev isn't being run on
> > > that.
> > > So it looks like your udev rules file is wrong.
> > > Find out which file(s) in /{etc,lib,usr/lib}/udev/rules.d mention
> > > mdadm and
> > > post them.
> > 
> > /lib/udev/rules.d/64-md-raid.rules is here
> > http://paste.ubuntu.com/5592227/
> 
> Bug tested positive also on Ubuntu Precise (12.04) and reported to https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1171945
> 
> Vennlige hilsener / Best regards
> 
>

This will run "mdadm --incremental $tempnode" on any device for which
ID_FS_TYPE is set to "linux_raid_member", which certainly seems reasonable.

What does:
   udevadm info --query=property --path=/dev/mdXXX | grep ID_FS_TYPE

report for the raid5 arrays?

Looking bug report I see that md0 and md1 have
   ID_FS_TYPE=linux_raid_member

So that should be working.

The fact that rootdelay=10 makes a difference suggests that it is
successfully assembling the raid0, but just taking a bit too long.
Maybe the script in the initrd needs "udevadm settle" just before it attempts
to mount.

Can you look inside the initrd and see if "udevadm settle" is used anywhere?

NeilBrown

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux