linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] ERROR pv_move_pe()
@ 2001-05-30 12:33 Timo Veith
  2001-05-30 13:43 ` Heinz J. Mauelshagen
  0 siblings, 1 reply; 4+ messages in thread
From: Timo Veith @ 2001-05-30 12:33 UTC (permalink / raw)
  To: linux-lvm

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@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

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

* Re: [linux-lvm] ERROR pv_move_pe()
  2001-05-30 12:33 [linux-lvm] ERROR pv_move_pe() Timo Veith
@ 2001-05-30 13:43 ` Heinz J. Mauelshagen
  2001-06-06 14:02   ` Oliver Jovic
  0 siblings, 1 reply; 4+ messages in thread
From: Heinz J. Mauelshagen @ 2001-05-30 13:43 UTC (permalink / raw)
  To: linux-lvm

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@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@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] 4+ messages in thread

* Re: [linux-lvm] ERROR pv_move_pe()
  2001-05-30 13:43 ` Heinz J. Mauelshagen
@ 2001-06-06 14:02   ` Oliver Jovic
  2001-06-06 16:18     ` Heinz J. Mauelshagen
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Jovic @ 2001-06-06 14:02 UTC (permalink / raw)
  To: linux-lvm

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@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@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
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> _______________________________________________
> 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
> 

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

* Re: [linux-lvm] ERROR pv_move_pe()
  2001-06-06 14:02   ` Oliver Jovic
@ 2001-06-06 16:18     ` Heinz J. Mauelshagen
  0 siblings, 0 replies; 4+ messages in thread
From: Heinz J. Mauelshagen @ 2001-06-06 16:18 UTC (permalink / raw)
  To: linux-lvm

Hi Oliver,

it got delayes because we are having an internal workshop right now.
Sorry, will get back to you about it ASAP.

Heinz

On Wed, Jun 06, 2001 at 04:02:53PM +0200, Oliver Jovic wrote:
> 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@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@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
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > _______________________________________________
> > 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
> > 
> 
> _______________________________________________
> 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

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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] 4+ messages in thread

end of thread, other threads:[~2001-06-06 16:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-30 12:33 [linux-lvm] ERROR pv_move_pe() Timo Veith
2001-05-30 13:43 ` Heinz J. Mauelshagen
2001-06-06 14:02   ` Oliver Jovic
2001-06-06 16:18     ` Heinz J. Mauelshagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).