Troubleshooting Root Hardisk Degradation issue with Centos.


If the server has two harddisk's configured as RAID and if any of the harddisk fails. sometimes the grub will not be loaded properly and the server wil not boot the OS.

For quickly recover from there we can try to boot the system using the "boot.iso" or normal OS image, and type "linux rescue" at the prompt.  At that point you will end up with a shell.  In that shell, you should be able to run grub to ensure it is installed on all partitions of the MIRRORED drives.  At that point, you can reboot and the un-corrupt drive should boot (as long as it is set as the boot drive).

Grub setup would be as follows:

# grub
grub> root (hd0,0)
grub> setup (hd0)
grub> root (hd1,0)
grub> setup (hd1)

etc etc etc

No comments:

Post a Comment