Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] recover lost VG (VG data differs between PVs)
@ 2004-11-14 22:58 Jelle Herold
  2004-11-14 23:21 ` Alasdair G Kergon
  0 siblings, 1 reply; 6+ messages in thread
From: Jelle Herold @ 2004-11-14 22:58 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-11-15 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-14 22:58 [linux-lvm] recover lost VG (VG data differs between PVs) Jelle Herold
2004-11-14 23:21 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox