All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] [BUG] pvmove failed on last PE in PV
@ 2002-02-12  3:04 Thor Kristoffersen
  2002-02-12  3:28 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: Thor Kristoffersen @ 2002-02-12  3:04 UTC (permalink / raw)
  To: Linux-LVM

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] [BUG] pvmove failed on last PE in PV
  2002-02-12  3:04 [linux-lvm] [BUG] pvmove failed on last PE in PV Thor Kristoffersen
@ 2002-02-12  3:28 ` Heinz J . Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz J . Mauelshagen @ 2002-02-12  3:28 UTC (permalink / raw)
  To: linux-lvm

On Tue, Feb 12, 2002 at 10:03:52AM +0100, Thor Kristoffersen wrote:
> 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.

> 
> 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
> linux-lvm@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@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-12  3:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-12  3:04 [linux-lvm] [BUG] pvmove failed on last PE in PV Thor Kristoffersen
2002-02-12  3:28 ` Heinz J . Mauelshagen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.