Red Hat Bugzilla – Bug 471979
mkinitrd partitionable (mdp) raid support
Last modified: 2009-05-06 11:55:36 EDT
Created attachment 323820 [details]
Patch solving the problem
Description of problem:
mkinitrd doesn't support partitionable raid arrays (/dev/md/dXXpYY). If the root device is on such partition, it isn't recognized as RAID at all.
Simply - create a partitionable raid array and set it as the / device.
The partition should be recognized as a RAID array, the /dev/md/dXX array should be assembled&started on boot
Attached is a patch fixing this problem (against 6.0.68, but I'm using it with v6.0.52 from F9 without any problems).
Additionally, the patch adds support for the structured naming of old-style non-partitionable arrays (i.e. /dev/md/0 instead of /dev/md0).
There's only a minor problem left: nash isn't able to resolve mdp partitions based on UUID/LABEL, so you have to specify the device name directly in fstab.
At this point, we're not going to support this in current mkinitrd. Support for this type of raid is planned with the new initramfs generator planned for Fedora 12 (dracut)