Problems with pvmove
I've followed the discussion started by „fejf“.
Indeed i have the same problem that pvmove exits with an error when i try to
move PEs from one PV to another.
To exclude the possibility of a defect HD i tried to reproduce the error on several
independent systems.
The error always occurs when i try to move a complete filled PV to another. In this case all but the last
PE on this PV are moved. The last one isn't movable whatever i did.
If the PV wasn't filled at 100% everything goes fine.
To reproduce the error try the following:
- create a VG with three Pvs at the same size
- create a LV which covers the first PV completely and the second partly
- try to all PEs from the first PV to the third - the error will occur
- move the moved PEs back to the first PV - everything goes fine
- try to move the PEs lying on the second PV to the third - everything goes fine
...any ideas?
Andreas...
Andreas,
could you provide a "pvdisplay -v | tail -22" output of the PV in question in order to check if you suffer from a misalocation problem which would lead to a last PE being allocated partially beyond the end of the underlying devive.
Regards,
Heinz -- The LVM Guy --
Quoted 29 lines · Andreas Gorf
I've followed the discussion started by „fejf“.
Indeed i have the same problem that pvmove exits with an error when i try to
move PEs from one PV to another.To exclude the possibility of a defect HD i tried to reproduce the error on several
independent systems.The error always occurs when i try to move a complete filled PV to another. In this case all but the last
PE on this PV are moved. The last one isn't movable whatever i did.If the PV wasn't filled at 100% everything goes fine.
To reproduce the error try the following:
- create a VG with three Pvs at the same size
- create a LV which covers the first PV completely and the second partly
- try to all PEs from the first PV to the third - the error will occur
- move the moved PEs back to the first PV - everything goes fine
- try to move the PEs lying on the second PV to the third - everything goes fine...any ideas?
Quoted 7 lines
Andreas...
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
*** 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
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-