From: Alasdair G Kergon <agk@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Best practice: metadata backup
Date: Tue, 7 Aug 2007 20:01:53 +0100 [thread overview]
Message-ID: <20070807190153.GV2064@agk.fab.redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0708050009370.22952-100000@bmsred.bmsi.com>
On Sun, Aug 05, 2007 at 12:17:15AM -0400, Stuart D. Gathman wrote:
> LVM keeps backups of metadata in /etc/lvm (or some distro specific place).
> This is not especially useful when the root filesystem itself is in LVM.
> I have been making rsync backups of /etc/lvm to /boot (which is non-LVM
> since grub doesn't support LVM until 1.95). Should I make /etc/lvm a
> symlink to /boot/lvm?
If you give /boot enough free space.
You can also change the location by setting the environment variable
LVM_SYSTEM_DIR.
> When grub supports LVM, and the entire disk is LVM (no partition table),
> how will backups be made?
Just like any other file backups - tape, CD, internet: you choose!
> AIX treats the boot LV specially, and ensures
> that its PEs are contiguous at the beginning of the disk(s).
Nothing is stopping a linux installer doing that today:
--alloc contiguous and specify the extents.
But if grub supports LVM2 properly (add a trivial mapping layer from LV
extents to physical sectors, then populate it from the LVM2 metadata
across an agreed interface from a library maintained as part of the lvm2
package) it won't require anything like that of course - the hardest
problem I think is actually for it to identify the right disks to use.
Alasdair
--
agk@redhat.com
next prev parent reply other threads:[~2007-08-07 19:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-05 4:17 [linux-lvm] Best practice: metadata backup Stuart D. Gathman
2007-08-07 19:01 ` Alasdair G Kergon [this message]
2007-08-07 20:56 ` Stuart D. Gathman
2007-08-07 21:34 ` Alasdair G Kergon
2007-08-08 19:03 ` Stuart D. Gathman
2007-08-08 21:21 ` Alasdair G Kergon
2007-08-09 7:23 ` John Hearns
2007-08-07 21:44 ` paddy
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=20070807190153.GV2064@agk.fab.redhat.com \
--to=agk@redhat.com \
--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).