All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jelle Herold <wires@defekt.nl>
To: linux-lvm@redhat.com
Subject: [linux-lvm] recover lost VG (VG data differs between PVs)
Date: Sun, 14 Nov 2004 23:58:53 +0100	[thread overview]
Message-ID: <20041114225853.GB20425@hotwire.nl> (raw)

Help! :)

I think I messed up my VG trying to recover it... :( this is what I did.

First, I believe grub erased the first sector of a whole-disk PV
(/dev/hde). luckily I had a lvm1 backup in /etc/lvmconf. Using (lvm1's)
pvcreate and vgcfgrestore I managed to get my VG back online. Good.

Then I wanted to move the data from the PV on /dev/hde to a new PV, so I
created a new PV (/dev/hdf3) and used vgextend to extend the VG. Without
thinking I rebooted the computer and worse: I managed to overwrite that
first sectore of /dev/hde again! This time I don't have any backups of
the new configuration (still have the old ones), but I didn't move the
PV or resized the fs on the vg.

I removed the newly added VG and using vgcfgrestore to recover the
metadata on /dev/hde. but now vgdisplay tells me

 VG data differs between PVs /dev/hde and /dev/hdf3
 Volume group "datavg" doesn't exist

Any ideas on how to proceed next are highly appreciated...

Jelle

             reply	other threads:[~2004-11-14 22:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-14 22:58 Jelle Herold [this message]
2004-11-14 23:21 ` [linux-lvm] recover lost VG (VG data differs between PVs) Alasdair G Kergon
2004-11-15  1:27   ` Jelle Herold
2004-11-15 10:24   ` Jelle Herold
2004-11-15 14:15     ` Alasdair G Kergon
2004-11-15 17:51       ` Jelle Herold

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=20041114225853.GB20425@hotwire.nl \
    --to=wires@defekt.nl \
    --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 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.