Re: recreate metadata of an PV possible if vda-backup present?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 22, 2004 at 05:07:59PM +0100, Malte Woelky wrote:
> Hallo,
> 
> 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 :^)

-- 

patrick


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux