LVM Tips
Fixing LVM Metadata
[root@AD2-vMotion ~]# pvdisplayCouldn't find device with uuid Wvadzv-E4hK-mel4-wgYQ-C1CX-66I7-q42j0C.
--- Physical volume ---
PV Name /dev/sdc1
VG Name vg
PV Size 200.00 GiB / not usable 1.34 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 51199
Free PE 15871
Allocated PE 35328
PV UUID SgYnka-WnfI-YiaO-TxUZ-wpv5-y3sC-R26sGF
--- Physical volume ---
PV Name unknown device
VG Name vg
PV Size 80.00 GiB / not usable 1.35 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 20479
Free PE 20479
Allocated PE 0
PV UUID Wvadzv-E4hK-mel4-wgYQ-C1CX-66I7-q42j0C
--- Physical volume ---
PV Name /dev/sde1
VG Name vg
PV Size 80.00 GiB / not usable 1.35 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 20479
Free PE 20479
Allocated PE 0
PV UUID 7CDFdQ-j7JN-Kfxe-OVxe-jUKF-PRvX-Ne3djH
--- Physical volume ---
PV Name /dev/sda2
VG Name vg_ad2vmotion
PV Size 19.51 GiB / not usable 3.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 4994
Free PE 0
Allocated PE 4994
PV UUID ywCJy1-oTlS-aRZ5-5FWb-BB1R-2DdR-kxlh0H
root@AD2-vMotion ~]# vgreduce --removemissing --force vg
Couldn't find device with uuid Wvadzv-E4hK-mel4-wgYQ-C1CX-66I7-q42j0C.
Wrote out consistent volume group vg
[root@AD2-vMotion ~]#
[root@AD2-vMotion ~]#
[root@AD2-vMotion ~]#
[root@AD2-vMotion ~]#
[root@AD2-vMotion ~]#
[root@AD2-vMotion ~]#
[root@AD2-vMotion ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sdc1
VG Name vg
PV Size 200.00 GiB / not usable 1.34 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 51199
Free PE 15871
Allocated PE 35328
PV UUID SgYnka-WnfI-YiaO-TxUZ-wpv5-y3sC-R26sGF
--- Physical volume ---
PV Name /dev/sde1
VG Name vg
PV Size 80.00 GiB / not usable 1.35 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 20479
Free PE 20479
Allocated PE 0
PV UUID 7CDFdQ-j7JN-Kfxe-OVxe-jUKF-PRvX-Ne3djH
--- Physical volume ---
PV Name /dev/sda2
VG Name vg_ad2vmotion
PV Size 19.51 GiB / not usable 3.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 4994
Free PE 0
Allocated PE 4994
PV UUID ywCJy1-oTlS-aRZ5-5FWb-BB1R-2DdR-kxlh0H
[root@AD2-vMotion ~]#
Comments