linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Hacksaw <hacksaw@hacksaw.org>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Hot backup for boot/root disk
Date: Thu, 28 Dec 2006 15:56:04 -0500	[thread overview]
Message-ID: <45942F64.9050502@hacksaw.org> (raw)

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.

             reply	other threads:[~2006-12-28 20:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-28 20:56 Hacksaw [this message]
2006-12-30  2:17 ` [linux-lvm] Hot backup for boot/root disk Toby Bluhm
2006-12-30  6:19   ` Hacksaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45942F64.9050502@hacksaw.org \
    --to=hacksaw@hacksaw.org \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).