On Mon, Oct 27, 2008 at 12:36 PM, Brendan Conoboy <blc@xxxxxxxxxx> wrote: > Joe Landman wrote: >> >> Ok. This is where it gets interesting. If the /etc/mdadm.conf is on >> the RAID, you have a bit of a "chicken and egg" problem to deal with >> here. How does the system find /etc/mdadm.conf to make the RAID when >> /etc/mdadm.conf is on the RAID? >> >> This implies that /etc/mdadm.conf is in the initrd. Peeking inside >> the default centos one, I can see that this is not true. Which >> implies that it doesn't see /etc/mdadm.conf before it assembles the >> array, as the /etc/mdadm.conf is on the array, and not in the initrd >> image. >> >> Is there a way to include the /etc/mdadm.conf into the initrd? > > This is almost certainly your problem. If / is a RAID volume, the initrd > itself needs to have an /etc/mdadm.conf that reflects how it is constructed. Hmmm... there was no mdadm.conf even in the centos initrd. I'll see if I can force this to be the case. Since I didn't see the mdadm.conf in the initrd, I assumed it was autoassembling. Though it was my understanding that this is a "bad" thing. > This is something that mkinitrd should be doing for you. I'll second the > suggestion of running mkinitrd with sh's -x option to see why it's not doing > this for you. Good luck. I think I need to dig into the resulting initrd more. Compare it to the initrd from the default install. I did this before, but now I think we need to do this with greater diligence. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html