[linux-lvm] Newbie question: ERROR "pv_move_pe(): PE lock" pv_move_pe
Heinz J. Mauelshagen
Mauelshagen at sistina.com
Sat Feb 17 19:04:56 UTC 2001
On Sat, Feb 17, 2001 at 03:48:56PM +0000, Joe Thornber wrote:
> On Sat, Feb 17, 2001 at 10:49:19AM +0000, Piete Brooks wrote:
> > >> # pvmove /dev/hda9
> > >> pvmove -- moving physical extents in inactive volume group "vg01"
> > >> pvmove -- WARNING: moving of active logical volumes may cause data loss!
> > >> pvmove -- do you want to continue? [y/n] y
> > >> pvmove -- ERROR "pv_move_pe(): PE lock" pv_move_pe
> > >>
> > >> pvmove -- ERROR "pv_move_pe(): PE lock" moving physical extents
> > > i believe the vg should be active....
> >
> > Sigh -- it warns that data loss can occur if they are active, so I assumed
> > that they should be inactive. If it has to be active, why does it quietly say
> > `extents in inactive volume' and not warn that they should be active ?
>
> I think the warning is just telling you that if you loose power whilst
> the move is in progress bad things could happen. Heinz can you
> clarify please.
Yes, that warning exactly means that.
There's an aproach to work around that already but it's not yet implemented :-(
OTOH the ERROR displayed shouldn't happen.
Is probably related to the MD assumption further down in this thread.
As Andreas Dilger pointed out: we need to fix pv_read() and friends in order
to stop dealing with MDs through error codes.
>
> - Joe
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen at Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the linux-lvm
mailing list