Bug#416658: mdadm: initramfs-tools-hook does not execute udevtrigger

Michael Prokop mika at grml.org
Thu Mar 29 15:51:35 UTC 2007


Package: mdadm
Version: 2.5.6-9
Severity: important


I'm using root=UUID=... on one of my testing systems where the
rootpartition is laying on SW-RAID. Booting the system does not work
with udev/initramfs-tools/mdadm because mdadm does not have a
udevtrigger call *after* md arrays are being assembled.  Therefore
the /dev/disk/by-uuid/-symlink for /dev/md0 is missing -> booting
via root=UUID=... fails then.

Please notice that there's a bug in current udev too - see #416654
for my bugreport.

Solution: all that has to be done regarding mdadm is adding a
udevtrigger call to the end of the initramfs-tools-hook of mdadm,
like:

verbose && log_begin_msg "Executing udevtrigger again"
/sbin/udevtrigger
verbose && log_end_msg

If you need some more details:
http://grml.org/tmp/mdadm-root-uuid.txt

regards,
-mika-




More information about the pkg-mdadm-devel mailing list