Bug#549535: mdadm: Ditto.

Michael Tokarev mjt at tls.msk.ru
Fri Oct 16 21:51:10 UTC 2009


Jamie Thompson wrote:
> Package: mdadm
> Version: 3.0-2
> Severity: normal
> 
> 
> I upgraded grub and mdadm this afternoon, and whilst the process appeared successful,
> after rebooting the system would not come up - my mirrored root device was seemingly 
> gone.
> 
> Attempting to start it from the mdadm included in my initrd failed, claiming that 
> there is no raid on /dev/hda1 nor /dev/hdb1 (where md0 lives). It did however happily
> start my raid5 array on /dev/sda1 and /dev/sdb1 (md1 - lvm host).
> 
> Lacking any other initrd images to work from, I booted up to a partedmagic live cd,
> which using a 2.x version of mdadm, happily assembled my raid1 array. Once mounted, I
> noticed a backup initrd image in my /boot directory, which when used in place of the
> generated one, brought the system right up. mdadm 3 is happily working with my raid1
> array now the system has booted.
> 
> It's been a fraught afternoon - this was my internet router...so I've been reading
> this bug report on my mobile phone as a reference as I had no other access!
> 
[]
> --- initrd.img-2.6.30-1-686:
> 39532 blocks
> 6e7bc5a5bed9c9fee0cabf27e8543b97  ./sbin/mdadm
> 6826aa7947f934cb1d6a272d2c716c61  ./etc/mdadm/mdadm.conf
> 6519a6f7d4258abde7d52a192c721f07  ./lib/modules/2.6.30-1-686/kernel/drivers/md/raid6_pq.ko
> 5ecc94ae0b5ba4f24fac048c6ed0843d  ./lib/modules/2.6.30-1-686/kernel/drivers/md/dm-log.ko
> a385e1af3c8c8a1588012540bc116a2e  ./lib/modules/2.6.30-1-686/kernel/drivers/md/raid1.ko
> a33e4f2a582f12f488e18ab5660137a9  ./lib/modules/2.6.30-1-686/kernel/drivers/md/raid10.ko
> 6897500fe89c3ad3a008fa871eee5120  ./lib/modules/2.6.30-1-686/kernel/drivers/md/dm-mirror.ko
> 4dabbd92980157067cd297057ae24f81  ./lib/modules/2.6.30-1-686/kernel/drivers/md/dm-region-hash.ko
> 841ff04b38e956b6df74d858cdd449d8  ./lib/modules/2.6.30-1-686/kernel/drivers/md/dm-snapshot.ko
> 1ef1fad05ee1a5c00fb627d5a6849601  ./lib/modules/2.6.30-1-686/kernel/drivers/md/dm-mod.ko
> f0fbfe02e5072748796a63f2f1b8d2ed  ./lib/modules/2.6.30-1-686/kernel/drivers/md/linear.ko
> 9b1a6b4769067b0739741c3469e9e51f  ./lib/modules/2.6.30-1-686/kernel/drivers/md/raid456.ko
> fb661383a6296228a60811f0014af4fa  ./lib/modules/2.6.30-1-686/kernel/drivers/md/raid0.ko
> 92fd8b1ac2482d756ac29c40c14deb22  ./lib/modules/2.6.30-1-686/kernel/drivers/md/md-mod.ko
> 7bf3178e3428053be516189a0670d06d  ./lib/modules/2.6.30-1-686/kernel/drivers/md/multipath.ko
> c0a345350c52294fc565638303a5afde  ./lib/modules/2.6.30-1-686/kernel/drivers/video/console/mdacon.ko
> 6b782ae76f866914ec236b2d14b43f24  ./scripts/local-top/mdadm

Is it all in the initrd?  Ie, is it complete initrd listing you provided?
This listing lacks the best part of it, namely the main thing, including
the /init script, basic executables and libraries.

Thanks!

/mjt





More information about the pkg-mdadm-devel mailing list