linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] aborted pvmove; how to remove locked LV "pvmove0"
@ 2005-11-02  4:12 Randall A. Jones
  2005-11-02  4:20 ` Josef Whiter
  0 siblings, 1 reply; 2+ messages in thread
From: Randall A. Jones @ 2005-11-02  4:12 UTC (permalink / raw)
  To: LVM general discussion and development


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
-- 
..:.::::
Randall Jones     GST      NASA Goddard Space Flight Center
HPC Visualization Support       http://hpcvis.gsfc.nasa.gov
Scientific Visualization Studio    http://svs.gsfc.nasa.gov
rajones@svs.gsfc.nasa.gov      Code 610.3      301-286-2239

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] aborted pvmove; how to remove locked LV "pvmove0"
  2005-11-02  4:12 [linux-lvm] aborted pvmove; how to remove locked LV "pvmove0" Randall A. Jones
@ 2005-11-02  4:20 ` Josef Whiter
  0 siblings, 0 replies; 2+ messages in thread
From: Josef Whiter @ 2005-11-02  4:20 UTC (permalink / raw)
  To: LVM general discussion and development

Randall A. Jones wrote:

>
> 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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-02  4:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-02  4:12 [linux-lvm] aborted pvmove; how to remove locked LV "pvmove0" Randall A. Jones
2005-11-02  4:20 ` Josef Whiter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).