Software RAID volume is not enabled during boot

Problem:

Non-root RAID volume does not automatically assemble during boot.

Affected Versions:

Fedora 8,9,10

Details:

A software RAID volume is created using the mdadm command. After the system is rebooted, the RAID array is not automatically assembled. For Fedora 8, the array is not assembled at all. For Fedora 9 and 10 the system attempts to assemble the array with one disk and names the device md_d0.

Solution:

This problem appears to be related to this bugzilla report:

https://bugzilla.redhat.com/show_bug.cgi?id=44781

The workaround is to create an appropriate /etc/mdadm.conf file. For a single array, the file would contain an entry like the following:

ARRAY /dev/md0 UUID=<uuid>

Where can be retrieved via the mdadm command:

# mdadm -E /dev/<part> | grep UUID

Where <part> is one of the partitions making up the RAID volume. The configuration for a typical RAID1 volume might look like this:

ARRAY /dev/md0 UUID=4c39938a:e419bce6:10748119:067f6ce8