[linux-lvm] ERROR pv_move_pe()
Oliver Jovic
jovi at unixag-zw.fh-kl.de
Wed Jun 6 14:02:53 UTC 2001
Hello Heinz,
you got my email with the pvmove -d output? I am just wondering coz i got
now answer till yet.
How long do you guess will it take to find out what it could be?
Regards
Oliver
>
> On Wed, May 30, 2001 at 02:33:40PM +0200, Timo Veith wrote:
> > Hi all!
> >
> > We have a Red Hat Linux system with kernel 2.4.3 using LVM 0.9.1 beta7.
> > There is one VG defined with 6 PVs. We added another hard disk to the
> > VG, trying to replace a smaller PV by using pvmove. The pvmove command
> > failed after a long run with the following error message:
> >
> > root at host[~] pvmove /dev/hdd1
> > pvmove -- moving physical extents in active volume group "vg00"
> > pvmove -- WARNING: if you lose power during the move you may need to
> > restore your LVM metadata from backup!
> > pvmove -- do you want to continue? [y/n] y
> > pvmove -- ERROR reading input physical volume "/dev/hdd1" (still 65536 bytes to read)
> >
> > pvmove -- ERROR "pv_move_pe(): read input PV" pv_move_pe
> >
> > pvmove -- ERROR "pv_move_pe(): read input PV" moving physical extents
> >
> > TH output of pvdisplay /dev/hdd1 shows that there is only one PE left
> > to move away from /dev/hdd1. We've tried to change the state of the
> > VG from active to inactive and from the LV also. Even with the
> > filesystem (reiserfs) mounted or unmounted the same error message
> > appears.
>
> Do I get right that you deactivated the VG, activated it again and
> were not able to pvmove that last PE away from /dev/hdd1.
>
> If so, it sounds like a bug in pv_move_pes() in the library or something.
>
> Could you please send "pvmove -d" output to me in direct mail to sort
> this one out.
>
> >
> > Where is this error message coming from, how can we solve this
> > problem?
> >
> > What happens if we just reduce the VG by /dev/hdd1 although there is
> > still one PE of the VG on it?
>
> You can't do that. A PV must have *no* PEs allocated to LVs.
>
> >
> >
> > Thanks in advance for any help.
> >
> > Regards,
> >
> >
> > Timo
> >
> >
> >
> >
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm at sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
> --
>
> 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
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
More information about the linux-lvm
mailing list