LVM2 + failure

Roger Grosswiler roger at gwch.net
Sat Jun 4 07:49:08 UTC 2005


marek cervenka wrote:
> hi,
> 
> i have fc4test3 with ona system disk and 3 in lvm2
> i'm booted without disks in lvm
> now i have disks connected back and vgdisplay shows this
> 
> WARNING: Volume group "ftp" inconsistent
>   --- Volume group ---
>   VG Name               ftp
>   System ID
>   Format                lvm2
>   Metadata Areas        4
>   Metadata Sequence No  8
>   VG Access             read/write
>   VG Status             resizable
>   MAX LV                0
>   Cur LV                1
>   Open LV               0
>   Max PV                0
>   Cur PV                3
>   Act PV                3
>   VG Size               409.86 GB
>   PE Size               16.00 MB
>   Total PE              26231
>   Alloc PE / Size       26231 / 409.86 GB
>   Free  PE / Size       0 / 0
>   VG UUID               LbNnyU-TS7U-w5EI-pGsQ-Mmj0-1J2V-5CM5H3
> 
> lv cannot be deleted
> 
> #lvremove -f /dev/ftp/lvftp
>   Inconsistent metadata copies found - updating to use version 8
>   Volume group ftp metadata is inconsistent
>   Volume group for uuid not found: 
> LbNnyUTS7Uw5EIpGsQMmj01J2V5CM5H3q0BI4QvUvoSlS7pLlB1aizoviEK9sBUw
>   Unable to deactivate logical volume "lvftp"
>   Device '/dev/hda1' has been left open.
>   Device '/dev/hdc1' has been left open.
>   Device '/dev/hdb1' has been left open.
> 
> can i repair this?
> or how drop vg ?
> 
> 
> ---------------------------------------
> Marek Cervenka
> =======================================
> 
try first with vgcfgrestore to restore to the last working config.




More information about the fedora-test-list mailing list