Skip to contentSkip to conversation

pvmove failed on last PE in PV

linux-lvm Thor Kristoffersen 2 participants 2 messages Feb 12, 2002

lore
Share & tools
lore
#0 lore raw

I have been running LVM for the past six months without any problems until last night when I migrated all PVs to a new disk. On one particular PV (hda2) which had all its physical extents allocated, LVM managed to move all physical extents except the last one. It complained about not being able to read past the end of the device, and that it was missing the last 65536 bytes. I eventually managed to solve the problem by adding the hda3 partition to hda2. Only then was it able to move the last physical extent.

Hardware setup:
Mainboard: MSI K7T266-Pro2
Primary master: IBM DTLA-307045
Secondary master: Seagate ST380021A

Software setup:
Redhat 7.1
Linux 2.4.6.
LVM 0.9.1-beta7

Thor

#1 lore raw
Quoted 7 lines · Thor Kristoffersen

I have been running LVM for the past six months without any problems until last night when I migrated all PVs to a new disk. On one particular PV (hda2) which had all its physical extents allocated, LVM managed to move all physical extents except the last one. It complained about not being able to read past the end of the device, and that it was missing the last 65536 bytes. I eventually managed to solve the problem by adding the hda3 partition to hda2. Only then was it able to move the last physical extent.

Thor,

that's a known misalignment issue we had in the 0.9.1 Beta series. The partition magic you did is one solution to work around this.

Please upgrade to LVM 1.0.2 to avoid further misalignment.

Quoted 19 lines

Hardware setup:
Mainboard: MSI K7T266-Pro2
Primary master: IBM DTLA-307045
Secondary master: Seagate ST380021A

Software setup:
Redhat 7.1
Linux 2.4.6.
LVM 0.9.1-beta7

Thor

_______________________________________________
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

Signature · 15 lines
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
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-