Hi,
I have a centos 4.2 server setup and running as a zimbra email server.
It has 2 18.4Gig SCSI hard drives setup in software raid 1 for mirroring.
I had tested the unit before production and found that if I disconnected one of the drives the other wouldn't boot
I search and found that I had to modify the boot (I don't remember exactly at the moment)
After testing I am sure it worked.
On the weekend the power went out and turns out one drive had failed and the server wouldn't boot from the other drive.
I am not sure at what point the other drive failed could be days could be weeks ago.
What is the proper way to get the system running again?
I can fix the failed drive. (damaged pin). When I get it running again will the info on the drive that won't boot be mirror back to the other drive?
I am sure the drive that won't boot due to grub and raid is the most current.
Thanks for any help
Mace
Okay I have the damaged drive fixed and running. It looks like it failed april 6th. So everything has been running on the other drive. But I can't get the other drive to boot.
How can if fix it so it will boot? When I hooked them together after fixing the primary drive it still wouldn't boot. If I unplug the mirror drive that won't boot It will boot from the drive I fixed.
So I need to get the secondary mirror that is current to boot and then mirror it to the fixed drive (or soon to have replacement drive)
I am desperate to get this going.
Please help
Mace
Mace Eliason wrote:
Hi,
I have a centos 4.2 server setup and running as a zimbra email server.
It has 2 18.4Gig SCSI hard drives setup in software raid 1 for mirroring.
I had tested the unit before production and found that if I disconnected one of the drives the other wouldn't boot
I search and found that I had to modify the boot (I don't remember exactly at the moment) After testing I am sure it worked.
On the weekend the power went out and turns out one drive had failed and the server wouldn't boot from the other drive.
I am not sure at what point the other drive failed could be days could be weeks ago.
What is the proper way to get the system running again?
I can fix the failed drive. (damaged pin). When I get it running again will the info on the drive that won't boot be mirror back to the other drive?
I am sure the drive that won't boot due to grub and raid is the most current.
Thanks for any help
Mace _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On May 1, 2006, at 2:56 PM, Mace Eliason wrote:
Okay I have the damaged drive fixed and running. It looks like it failed april 6th. So everything has been running on the other drive. But I can't get the other drive to boot.
How can if fix it so it will boot? When I hooked them together after fixing the primary drive it still wouldn't boot. If I unplug the mirror drive that won't boot It will boot from the drive I fixed. So I need to get the secondary mirror that is current to boot and then mirror it to the fixed drive (or soon to have replacement drive)
I am desperate to get this going.
take a look at the discussion here:
http://forums.fedoraforum.org/archive/index.php/t-13292.html
i've mirrored a longer article by Steve Boley that discusses in detail the way to set up a software mirrored boot volume:
http://www.vecna.org/wiki/GrubAndSoftwareRAID
-steve
--- If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v
On Mon, 2006-05-01 at 11:56 -0700, Mace Eliason wrote:
Okay I have the damaged drive fixed and running. It looks like it failed april 6th. So everything has been running on the other drive. But I can't get the other drive to boot.
How can if fix it so it will boot? When I hooked them together after fixing the primary drive it still wouldn't boot. If I unplug the mirror drive that won't boot It will boot from the drive I fixed.
So I need to get the secondary mirror that is current to boot and then mirror it to the fixed drive (or soon to have replacement drive)
I am desperate to get this going.
Please help
Mace
<snip>
NOTE! Total ignorance here because never have and don't do this stuff. But based on your earlier posts and old posts by others and the sound of desperation, I can use my super powers of observation (& 1 remaining active memory cell) to ask Qs that *hopefully* lead you the right direction.
You said you had configured, tested and verified that it would boot in the past? This means that you did set up each drive with a separate boot-able partition and install grub on each independently? IIRC, from the posts I recall seeing, that was what was needed.
Anyway, IIRC the gist of the posts, when you get booted from recovery media, you should now check to be sure that partitioning is correct (a boo-table and LVMable on each drive), grub is installed on each and a populated boot partition. Might not hurt to fsck the boot part you're rebuilding and/or repopulate it to make sure you have the complete/desired versions.
For any more detail googling with site:CentOS as part of your advanced keyword search will get you to the many threads by knowledgeable people who have discussed this extensively (albeit under much less pressure usually) for the benefit of all future victims! ;-)
HTH