If it is a corrupted file and not a bad drive, then you should be able to manually assemble the array and mount it using a live distro ( if it has the needed kernel modules ).
There is a Linux Raid Howto at the
www.tldp.org Web site which might also help. You wouldn't be able to mount a member of a striped set. Maybe you can for a mirrored set member. I think that article I referred to before did that after placing one of a pair of drives in an external enclosure. They sell NetDisk NDAS/USB2.0 enclosures at Radio Shack for a reasonable price, if that makes it convenient. (Assuming you don't live in Timbuktu
*)
Does the installation program have a repair option? It may be able to assemble the array and replace a damaged system file. If a superblock exists, there may be information with will allow it to recover even if one drive is bad. I'm betting that an enterprise grade distro like CentOS has tools that deal with raid recovery as well. I don't have CentOS or RH Enterprise however, so I am guessing.
I think it would be best to
- Try assembling and mounting the raid array if it is healthy. Then back up the data.
- If the array is bad, analyse which drive is damaged, replace it and recreate it using your disto's raid tools or raid tools from a live distro.
- Prepare for disaster next time. Learn what you can about raid on CentOS servers. I you don't have a hot swap bay, physically label the drives so you know which one corresponds with which array member. Keep a notebook with notes on how to recover. If you need a live distro or centos boot disk, include it in a sleave in the notebook or 3-ring binder.
Something you might consider in the future, if the server has room, is install a small IDE drive, and install a minimal CentOS system on it. Then disable the drive in BIOS. In the future if there is a problem with raid, you can enable the drive in BIOS and boot up to it so you have your tools handy.
A windows NT server at work I used to use was set up that way.
----
* Now I'm impressed. My Firefox spell checker had Timbuktu in it.