Volume group got removed during lvm operation in Red Hat High Availability cluster with clvmd running.
Issue
- Non-clustered volume group got removed during
lvmoperation in Red Hat High Availability cluster with mixing of oldclvmd(lvm2-cluster) and newlvm2(lvm2-2.02.143-7.el6) tools andclvmdrunning. - Volume group got removed when extending non-clustered logical volume.
# vgs ; lvs
VG #PV #LV #SN Attr VSize VFree
testvg 1 1 0 wz--n- 1020.00m 908.00m
vg_node1 1 2 0 wz--n- 7.51g 0
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
testlv testvg -wi-ao---- 112.00m
lv_root vg_node1 -wi-ao---- 6.71g
lv_swap vg_node1 -wi-ao---- 816.00m
# lvextend -L +10M -r /dev/mapper/testvg-testlv
Rounding size to boundary between physical extents: 12.00 MiB.
Size of logical volume testvg/testlv changed from 112.00 MiB (28 extents) to 124.00 MiB (31 extents).
Error locking on node node1: Volume group for uuid not found: kVNES5wGIo6AwN2HFiN2Js7sy03mMLcY6nqJFlbXqxdVhRyKpKueJ1AdLAEcjhh4
Failed to lock logical volume testvg/testlv.
Error locking on node node1: Volume group for uuid not found: kVNES5wGIo6AwN2HFiN2Js7sy03mMLcY6nqJFlbXqxdVhRyKpKueJ1AdLAEcjhh4
Problem reactivating logical volume testvg/testlv.
# pvs -v
Using physical volume(s) on command line.
Wiping cache of LVM-capable devices
Wiping internal VG cache
WARNING: Repairing flag incorrectly marking Physical Volume /dev/vdb as used.
PV VG Fmt Attr PSize PFree DevSize PV UUID
/dev/vda2 vg_node1 lvm2 a--u 7.51g 0 7.51g 65m2gP-76g6-Ex3b-mLVR-xUAB-VMS4-qf6gO2
/dev/vdb lvm2 ---- 1.00g 1.00g 1.00g mMbpfs-a039-BaHC-CdQU-2SDE-Bon6-vwVxML
^^^^^^^^^
- Clustered volume group got removed when extending clustered logical volume after updating both lvm2 and lvm2-cluster packages to
lvm2-2.02.143-7.el6.
# lvextend -L +100M /dev/mapper/cluster_vg-cluster_lv
Size of logical volume cluster_vg/cluster_lv changed from 1.00 GiB (256 extents) to 1.10 GiB (281 extents).
Error locking on node RHnode1: Volume group for uuid not found: NzgWmLWHK6EL5H2fc0I4qvMqeWaUnBKBepSiLZRGxAr35w34uOfNxUYi7NfCPXEv
Failed to lock logical volume cluster_vg/cluster_lv.
Error locking on node RHnode1: Volume group for uuid not found: NzgWmLWHK6EL5H2fc0I4qvMqeWaUnBKBepSiLZRGxAr35w34uOfNxUYi7NfCPXEv
Problem reactivating logical volume cluster_vg/cluster_lv.
Environment
- Red Hat Enterprise Linux 6
- lvm2-2.02.143-7.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.