Software RAID 5 - 3 SATA DISKS on CentOS 5.x
Hi there,
So the other day someone accidentally unplugged a PC which was running our subversion server. This server is running the latest version of CentOS x64, has 3 hard drives configured in software RAID 5. Due to the power going down while the machine was running on reboot the kernel warned of degraded raid array... blah blah blah - nothing good. So here is some info: Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
Sorry the thread title should be "HOW DO I REBUILD Software RAID 5 - 3 SATA DISKS on CentOS 5.x"
|
I hope you have backups, because if this were me I would be looking to do a restore and get things up and running ASAP. Trying to figure this out as an academic exercise might be interesting (and hopefully is possible) but in a production environment for a source control server I wouldn't want to kill the time trying things which might only make it worse.
My first advice would be to do a backup of everything as is now before playing around and possibly making the situation worse. |
have you tried this:
Code:
# > /etc/mdadm/mdadm.conf |
@ComputerErik - I couldn't agree more. I tested our backup and all it well. I also had a second machine up and running. After a couple of days I finally decided just to restore the original server and get SVN re-setup.
@chickenjoy - I did try that, there are several good guides out there but it seems like anything and everything I did would results in an array that didn't want to start. Basically I chased my problem around in circles. So I had no choice but to get the server back up and running. I plan on setting up a virtual machine and breaking it, when I have some down time to do more testing. GLAD I HAD A GOOD BACKUP PLAN :) Thank you for the replies!!! Happy Holidays and best wishes! |
@bskrakes
thats great. Nothing beats a recent backup. |
All times are GMT -5. The time now is 10:49 PM. |