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

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

 



On Wed, Jan 21, 2004 at 11:58:27PM +0100, Malte Woelky wrote:
> Hallo,
> 
> 
> I had an VG called 'vg01' which contained the only PV  /dev/hdc
> 
> My problem happened during a system upgrade, where I could have
> removed the VG from the system or something else happened...
> 
> I do have an VDA backup /root/lvmconf/vg01.conf (attatched to this
> mail)
> 
> Is ist possible to recrate or restore the PV metadata? I believe that
> the data stored on this PV may be still there ...I hope so.
> 
> I searched the last two months for an sollution, but found nothing
> using google, diverse mailing list archives, heise-forum, etc ...
> 
> does someone on this list have any tip?
> 
> I would be very, very happy if someone could post some hints to try...
> 

# pvcreate /dev/hdc
# vgcfgrestore -n vg01 /dev/hdc
# vgscan

should restore the VG for you.


-- 

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