On Tue, 2008-08-26 at 01:33 -0400, Sean Hildebrand wrote: > I have a 3-disk RAID5, with a consistent superblock, and partitions > are all 0xFD. > > The array isn't recognized by mdadm at boot or when I manually ask it > to assemble /dev/md0 without specifying partitions. The three > partitions are always /dev/sd[abc]1. You didn't mention what distribution/OS you are using, but this problem is distribution specific. If you use any of the Red Hat OSes, then you probably need to configure your system to start the array at boot up. This is especially true if this is the first array you've ever had on the system. Start off by creating a simple /etc/mdadm.conf file. A couple lines that read: DEVICE partitions MAILADDR root is sufficient to start. Then, while your md array is up and running, execute the following command: mdadm -Db /dev/md0 >> /etc/mdadm.conf This will add the information for your array to the end of the mdadm.conf file. Once you've done that, recreate the initrd for your kernel by using this command: VER=`uname -r` mkinitrd -v -f /boot/initrd-${VER}.img ${VER} Now, when you reboot, the system should start up your raid array automatically. Note: if your raid array isn't needed in order for the system to mount the / partition, then you can skip remaking the initrd image, just creating an entry in /etc/mdadm.conf is enough to cause the system initscript to start the array at bootup. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: CFBFF194 http://people.redhat.com/dledford Infiniband specific RPMs available at http://people.redhat.com/dledford/Infiniband
Attachment:
signature.asc
Description: This is a digitally signed message part