From: AJ Lewis <alewis@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Is LVM safe?
Date: Mon, 20 Jun 2005 09:42:33 -0500 [thread overview]
Message-ID: <20050620144233.GB12491@null.msp.redhat.com> (raw)
In-Reply-To: <d45c7b521930741fc78fef25d061f74b@anderedomain.de>
[-- Attachment #1: Type: text/plain, Size: 1424 bytes --]
On Mon, Jun 20, 2005 at 04:09:10PM +0200, Philipp Riegger wrote:
> On 20. Jun 2005, at 15:49 Uhr, John Rowe wrote:
>
> >If I have a Physical Volume which is the only Physical Volume in a
> >Volume Group, can I always recover the recover the Volume Group if I
> >have absolutely nothing else just like I can with an ext3 partition?
>
> Yes, it's easy. You just need a kernel with DM-Support and the
> LVM2-Tools.
>
> A simple
>
> vgscan
> vgchangs -ay
>
> And you have your "Partitions" back.
Well, it's not quite that simple - if something scribbles over your LVM
metadata (i've never seen this happen where it wasn't user error), you need to
do quite a bit more work to get things back so you can activate your LVs so
you can fsck your ext3 partition. It usually involves at least running a
vgcfgrestore against the backup file in /etc/lvm/backup. So yes, it can be
more complicated if the lvm metadata gets broken - but this is similar to what
happens if the partition table gets busted on a normal disk.
--
AJ Lewis Voice: 612-638-0500
Red Hat Inc. E-Mail: alewis@redhat.com
One Main Street SE, Suite 209
Minneapolis, MN 55414
Current GPG fingerprint = D9F8 EDCE 4242 855F A03D 9B63 F50C 54A8 578C 8715
Grab the key at: http://people.redhat.com/alewis/gpg.html or one of the
many keyservers out there...
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-06-20 14:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-20 12:02 [linux-lvm] Is LVM safe? John Rowe
2005-06-20 13:17 ` Rainer Krienke
2005-06-20 13:26 ` Erik Ohrnberger
2005-06-20 13:35 ` Andy Smith
2005-06-20 13:49 ` John Rowe
2005-06-20 14:09 ` Philipp Riegger
2005-06-20 14:34 ` John Rowe
2005-06-20 14:42 ` AJ Lewis [this message]
2005-06-20 15:00 ` John Rowe
2005-06-20 15:12 ` AJ Lewis
2005-06-20 15:27 ` John Rowe
2005-06-20 15:45 ` AJ Lewis
2005-06-20 16:10 ` Eric Hopper
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=20050620144233.GB12491@null.msp.redhat.com \
--to=alewis@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).