I have recently built some test centos servers using software raid 1 and I noticed things that perhaps those more familiar can assist with. First off sfdisk is a real time saver for cloning a partition scheme allowing you to quickly rebuild a failed array. In any case my two drive raid was rather simple, two partitions consisting of swap and / . I would fail sda and would get a grub boot error. In the GUI centos install I was pretty certain I installed grub to both drives but perhaps the mbr only goes to one. I cleared that issue up by running:
/bin/grub device (hd*) /dev/sd* root (hd*) setup (hd*) To set a drive failure I just disconnected the data rather than cli. After reconnecting (powered off for this part off testing) I found the swap raid rebuilt without mdadm but the / did not. My only guess is that it is coded in such a way that it knows nothing in swap is needed so losing that data is no big deal but it wont make the assumption that the two / are mates and rebuild since the may be two different / that were accidentally paired thus causing data loss. The last thing I noticed is fdisk can't seem to recognize a raid filesystem. Matthias Johnson
_______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Nov 3 - Open Source Hardware: Bugs, Beagles and Beyond Dec 1 - IBM's Open Client Deployment Jan 5 - Building a Comunity Site with Drupal
