From: Michael Marxmeier <mike@msede.com>
To: linux-lvm@marxmeier.com, bagfors@pdc.kth.se
Subject: Re: [linux-lvm] made a big misstake
Date: Wed, 19 Jul 2000 06:19:25 +0200 [thread overview]
Message-ID: <39752C4D.D07D0F2C@marxmeier.com> (raw)
In-Reply-To: 200007182303.TAA20264@e35.marxmeier.com
Andreas Dilger wrote:
> Erik writes:
> > Now the misstake, I did not run a vgreduce before I fdisk'ed the whole
> > disk (hdb). Now when I start up, vgscan cannot find any vg's.
>
> Was hdb1 the first PV created in the VG? The problem, I think, is that
> Linux LVM only keeps the VGDA on the first PV. AIX will keep a VGDA
> copy on all of the PVs, and even will keep 2 VGDAs on the first PV for
> backup, in case the first one is corrupt.
Actually, LVM should have a copy of the dscriptor area. It is kept in
the file system in the directory /etc/lvmconf which even has the nice
property that you can back it up. The VGDA is implecitely backed up by
most LVM commands.
You should be able to restore them with vgcfgrestore.
The vgcfgrestore syntax seems to sugest you can even restore it
to another physical volume (no tested, personally) which would
solve the actual problem nicely.
Hope this helps
Michael
--
Michael Marxmeier Marxmeier Software AG
E-Mail: mike@msede.com Besenbruchstrasse 9
Phone : +49 202 2431440 42285 Wuppertal, Germany
Fax : +49 202 2431420 http://www.msede.com/
next parent reply other threads:[~2000-07-19 4:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200007182303.TAA20264@e35.marxmeier.com>
2000-07-19 4:19 ` Michael Marxmeier [this message]
2000-07-19 5:20 ` [linux-lvm] made a big misstake Andreas Dilger
2000-07-19 4:05 Michael Marxmeier
-- strict thread matches above, loose matches on Subject: below --
2000-07-18 21:15 Erik Bågfors
[not found] ` <200007182302.e6IN2m930146@webber.adilger.net>
2000-07-19 7:51 ` Erik Bågfors
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=39752C4D.D07D0F2C@marxmeier.com \
--to=mike@msede.com \
--cc=bagfors@pdc.kth.se \
--cc=linux-lvm@marxmeier.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.