Comment 7 for bug 541058

Revision history for this message
Jacob D'Agostino (jdagost1) wrote : Re: [->UUIDudev] mdadm fails to assemble raid during boot

I have been experiencing the same problem with a (non-root) RAID-1 array.

Ceg, I tried the workaround (building a proper mdadm.conf file and putting it in initramfs). If I put the array information into mdadm.conf, the array is built successfully during boot, HOWEVER, the member partitions for the array are not hidden from /proc/partitions (which they are if the array is built after bootup), so both the array and the member partitions show up in userland tools (e.g. the Gnome "Places" menu), so the places menu shows three entries rather than one, one for each disk and one for the array, and if I was to mis-click on one of the member disks, my RAID-1 array would be corrupted and need to be rebuilt.

It really looks like there is some kind of race condition going on here.