Skip to contentSkip to conversation

aborted pvmove; how to remove locked LV "pvmove0"

linux-lvm Randall A. Jones 2 participants 2 messages Nov 2, 2005

lore
Share & tools
lore
#0 lore raw

I started a pvmove that was interrupted before it was finished. lvdisplay reports that the pvmove0 LV is still there. Looking in /etc/lvm/backup/vg0 shows that pvmove0 is locked. If I try to use lvremove pvmove0, it fails stating that it is locked.

Is there a way to unlock a locked LV? Or is there a way to tell LVM that the pvmove operation is no longer needed so it will clean up?

Thank you,
Randall

Signature · 5 lines
..:.::::
Randall Jones     GST      NASA Goddard Space Flight Center
HPC Visualization Support       http://hpcvis.gsfc.nasa.gov
Scientific Visualization Studio    http://svs.gsfc.nasa.gov
[email protected]      Code 610.3      301-286-2239
#1 lore raw
Quoted 7 lines · Randall A. Jones

I started a pvmove that was interrupted before it was finished. lvdisplay reports that the pvmove0 LV is still there. Looking in /etc/lvm/backup/vg0 shows that pvmove0 is locked. If I try to use lvremove pvmove0, it fails stating that it is locked.

Is there a way to unlock a locked LV? Or is there a way to tell LVM that the pvmove operation is no longer needed so it will clean up?

Thank you,
Randall

pvmove --abort should do what you are looking for.

Josef

Signature · 4 lines
Josef Whiter, RHCE
Global Support Services
Red Hat, Inc.
919-754-3700 x44429