CentOS 5.2 Mirrored RAID error and general question
Please bear with me as I try to figure this out. RAID is new to me and I might ask some really basic questions. Explanation first... Questions are at the end if you want to skip to that. Here goes...
I just built a new 64-bit system with a SATA RAID controller on board. I went in through BIOS and set up the two disks (Identical Western Digital 500GB drives) as a being a mirrored RAID array. After going through the install for CentOS, it automatically recognized the RAID and partitioned the drives to default. Based on this, I assume that I have a hardware RAID setup (as opposed to a software RAID)???
Anyways, the system setup fine. Both disk lights would flash every time there was activity, leading me to believe that information was being copied on both disks. After everything was working, I turned off the machine and pulled out one of the disks. I popped in another identical one and wanted to see if the RAID would pick it up. I start up the system and it recognizes the new drive, sets the system to rebuild, and then says that the rebuild will occur once I get into the OS. Umm... okay. I exit, the OS starts to load and all of a sudden I'm sent back to the initial setup page (time settings, users, etc). I log in and everything I added is gone! The rebuild never kicks in, so I shut down, replace the working disk with the other RAIDed one (so now I have the blank one still and the other mirrored disk in). I turn on the system. BIOS RAID recognizes the disk as Degraded and the blank one as Failed. I exit and go to load the OS. Now everything is back. All the programs I had set up and users are all there.
So... Does this mean the RAID never really worked?
The information wasn't truly copied onto both drives?
If it's truly mirrored, why would one disk work fine and the other not at all? It makes me worry that if the wrong disk fails, how am I supposed to truly rebuild the system?
Did I do something wrong when I initially setup the partitions?
Any help would be greatly appreciated. Thanks for taking the time.