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

Re: [linux-lvm] recreate metadata of an PV possible if vda-backup present?



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




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