[linux-lvm] recreate metadata of an PV possible if vda-backup present?
pcaulfie at redhat.com
Thu Jan 22 11:20:02 UTC 2004
On Thu, Jan 22, 2004 at 05:07:59PM +0100, Malte Woelky wrote:
> Thursday, January 22, 2004, 3:07:27 PM, you wrote:
> >> I would be very, very happy if someone could post some hints to try...
> PC> # pvcreate /dev/hdc
> PC> # vgcfgrestore -n vg01 /dev/hdc
> PC> # vgscan
> PC> should restore the VG for you.
> Thanks - I thought pvcreate would destroy the data, but it seem only
> to initialize the PV without overwriting data, right?
Yes, pvcreate only overwrites the PV metadata area of the disk. Any actual data
is left intact (assuming it wasn't erased by something else!)
> It's pity that I can't check this out, because I already recreated a
> new LV this morning because of time preasure ;-( Too bad for me...
Ah well, keep this email for next time :^)
More information about the linux-lvm