[linux-lvm] ERROR pv_move_pe()

Timo Veith tv at rz-zw.fh-kl.de
Wed May 30 12:33:40 UTC 2001


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.

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?


Thanks in advance for any help.

Regards,


     Timo








More information about the linux-lvm mailing list