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

AW: [linux-lvm] vgscan can't find vg after system crash



huh, that worked!

Howto to backup the VGDA after upgrade? Is there any recipe?
Could you direct me to any relevant url, please.

> -----Ursprüngliche Nachricht-----
> Von:	Heinz J. Mauelshagen [SMTP:Mauelshagen sistina com]
> Gesendet am:	Dienstag, 17. Juli 2001 15:26
> An:	linux-lvm sistina com
> Betreff:	Re: [linux-lvm] vgscan can't find vg after system crash
> 
> On Tue, Jul 17, 2001 at 02:49:43PM +0200, Jahns Volker Dr. wrote:
> > vgscan will not find any volume groups after system crash, where one pv
> was
> > lost.
> > 
> > 
> > pvdisplay reports
> > 	--- Physical volume ---
> > PV Name               /dev/hdb3
> > VG Name               vg01
> > PV Size               5.86 GB / NOT usable 264 KB [LVM: 235 KB]
> > PV#                   1
> > PV Status             NOT available
> > Allocatable           yes (but full)
> > Cur LV                1
> > PE Size (KByte)       4096
> > Total PE              1500
> > Free PE               0
> > Allocated PE          1500
> > PV UUID               /dev/h-db3
> > 
> > Other than vgscan I have tried to restore by using the vgcfgrestore tool
> > 
> > cp /etc/lvmconf/vg01.conf /etc/lvmtab.d/vg01
> > echo -ne 'vg01\0' >/etc/lvmtab
> > 
> > vgcfgrestore -n vg01 exits w/ error message:
> > 
> > vgcfgrestore -- ERROR: different structure size stored in
> > "/etc/lvmconf/vg01.conf" than expected in file vg_cfgrestore.c [line
> 120]
> > vgcfgrestore -- ERROR "vg_cfgrestore(): read" restoring volume group
> "vg01"
> 
> You seem to have upgraded the LVM software and didn't take metadata
> backups
> afterwards. Sorry, in order to use that old backup, you need to downgrade 
> the software again :-(
> 
> 


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