Hot backup for boot/root disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a Linux system with 2 identical disks for the OS portion. The goal is to have them essentially mirrored, but not continuously. I want to be able to rsync them on occasion.

I need this disk to be bootable on a moments notice, in case the main one dies.

The layout of the current boot disk is a partition for /boot which is ext3, and then the rest as a LVM set, of essentially one large partition.

My first thought is to create the second disk pretty much as the first was created, do the rsyncs, and make some script that will maintain the configuration files which mention the physical disks.

I have to admit that it's unclear what they all are.

In fact, I'd prefer something clever with disk labels.

In the best of all possible worlds, the system would recognize the bootable partitions, and fail over to the backup one if there was a problem with the main one.

I would appreciate some advice here. I need this machine to go live in a few days, as the server it's replacing is close to just falling over after more than 6 years of active service, all honor to it.


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux