I am trying to set up software raid on a new machine with Fedora. My goals are thus: Set up Raid 1, and have the drives exact mirrors of each other. Have each drive be bootable, if the other fails. Be alerted when a drive is missing or down.
I put the hard drives on separate controllers, as primary master and secondary master. The cd-rom is a secondary slave. In the installer, I divided each drive into 3 partitions of type "software raid". I then combined the partitions of 100MB into a raid device, md0 as /boot. I combined the 2GB partitions into SWAP md1, and just the rest of the hard drives as ext3 md2 on /. With both drives everything runs great, the interface feels pretty snappy as well. I thought that I would test my setup, so I shut down the machine, unplugged the secondary master and booted. Everything fine, ran just fine off of the one drive. (at least I think, I never got a disk unavailable or any type of error) Shutdown, plugged the secondary back in, booted, everything fine again (do I need to "re-establish" the raid array when I plug the hard drive back in?) Shutdown then removed the primary master and tried booting off the secondary, and it will not boot. (I did try all the combinations of putting it on the other controller as well) I booted with knoppix and all the data is there, there is even a partition on it with grub and it's configuration files, I assume this was supposed to be the /boot. I read an unexplained claim on a howto that grub doesn't install itself on the mbr of each disk in an array, but that lilo does, not sure if that has something to do with my problem or not. Am I going about this the right way? Regards, Devlin ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
