[linux-lvm] Unlocking a locked lv

James Miller jimm at simutronics.com
Wed Jun 6 19:38:21 UTC 2007


Hello everyone,

Hopefully this time I might get a response ;)

I REALLY just want to get rid of all volume groups, but I can't.  I was
doing a pvmove (and I'm using clmvd so locking it set to 2) and the process
hung.  Now I can't delete the lv (called) test nor the hung pvmove0.

vgremove -v hari-vg01
    Loaded external locking library liblvm2clusterlock.so
    Using volume group(s) on command line
    Finding volume group "hari-vg01"
  Volume group "hari-vg01" still contains 2 logical volume(s)


lvremove -v -f hari-vg01 test
   Loaded external locking library liblvm2clusterlock.so
   Using logical volume(s) on command line
 Can't remove locked LV test
 Can't remove locked LV pvmove0
   Wiping cache of LVM-capable devices
 Volume group "test" not found

When I try to activate hari-vg01 it just hangs. I've tried to set locking to
0 but no lock.


--Jim





More information about the linux-lvm mailing list