I have a Linux server with 2 Drives 73GB SCSI + 250GB SATA-II. So I want to setup the SATA-II Drive as my OS backup drive. So if the 73Gb SCSI Drive fails then it can boot from the 250GB SATA-II Drive and I can avoid OS Data Loss and minimize downtime.
I am a solaris system admin and this kind of workaround is very simple over there with the following steps:
1. Create all partition on SATA-II Drive as they exists in SCSi Drive (i.e /root, /var, /home etc ..)
2. Copy data from the (OS file system /, /var/,/home etc ..) to the new Drive (mounted as /backup/root, /backup/var, /backup/home) using RSYNC
3. Now setup a RSYNC cron to update the data from the SCSI to SATA-II every 30 minutes
4. Now install boot-block in SATA-II Drive.
So this is how I make an additional drive as bootable as well with ALL OS partion mounted.
Now I am dealing with a LINUX(Cent OS 4.x) server, So How can I do the same over here, SO that both of my drives are fully functional to run the OS.
I am sure it shouldn't be complicated. I just havent done that before and trying to put this in a PRODUCTION Server after I do some test of my test boxes.
I would appreciate if any of you who feels comfortable or have done this kind of exercise, please provide me a step-by-step procedure.
I would like to have a raid 1 configured but it is costing more then having a another drive. Also I have SATA & SCSI Drives with 2 different size and RPM, So Setting a raid with these also a another problem, So I just wanted to make a good use of the SATA Drive which is pretty much a backup drive, So I thought I would also use it for OS backup and can use it in the worst case.
How to install the boot block here in Linux.
grub-install install_device ==> Is this the way it should be install on the /backup drive...
Originally Posted by Blackknight
Sounds like it should work fine, you'd have to change your boot order in the BIOS but that's about it.
If you really want to lessen downtime you could always get a RAID card.