Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Can't seem to make pvmove do the work
@ 2004-05-14 18:39 Erik Ch. Ohrnberger
  2004-05-15  8:11 ` Heinz Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: Erik Ch. Ohrnberger @ 2004-05-14 18:39 UTC (permalink / raw)
  To: linux-lvm

It's strange.  I need to reduce a disk, either hdg or hdh from the volume
group.

I've already gone and reduced the allocated size using e2fsadm to change
free file system space into free pv allocations.  Here is what vgdisplay -v
says:

--- Physical volumes ---
PV Name (#)           /dev/hdg1 (4)
PV Status             available / allocatable
Total PE / Free PE    9814 / 0

PV Name (#)           /dev/hdh1 (3)
PV Status             available / allocatable
Total PE / Free PE    9815 / 880

PV Name (#)           /dev/hde1 (2)
PV Status             available / allocatable
Total PE / Free PE    19078 / 8347

PV Name (#)           /dev/hdf1 (6)
PV Status             available / allocatable
Total PE / Free PE    19078 / 5365

Now, I perform the following pvmove command:

Pvmove /dev/hdg1

And it says that there are insufficient free/allocatable physical extents.

But if I look at the list, the 9814 pvs on hdg1 should be across hdh1, hde1
and hdf1.

Have I got this correct?  Is there perhaps a step that I'm missing?  If I
am, do please let me know.

	Thanks,
		Erik.

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

* Re: [linux-lvm] Can't seem to make pvmove do the work
  2004-05-14 18:39 [linux-lvm] Can't seem to make pvmove do the work Erik Ch. Ohrnberger
@ 2004-05-15  8:11 ` Heinz Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz Mauelshagen @ 2004-05-15  8:11 UTC (permalink / raw)
  To: Erik, LVM general discussion and development; +Cc: hjm

On Fri, May 14, 2004 at 02:39:46PM -0400, Erik Ch. Ohrnberger wrote:
> It's strange.  I need to reduce a disk, either hdg or hdh from the volume
> group.
> 
> I've already gone and reduced the allocated size using e2fsadm to change
> free file system space into free pv allocations.  Here is what vgdisplay -v
> says:
> 
> --- Physical volumes ---
> PV Name (#)           /dev/hdg1 (4)
> PV Status             available / allocatable
> Total PE / Free PE    9814 / 0
> 
> PV Name (#)           /dev/hdh1 (3)
> PV Status             available / allocatable
> Total PE / Free PE    9815 / 880
> 
> PV Name (#)           /dev/hde1 (2)
> PV Status             available / allocatable
> Total PE / Free PE    19078 / 8347
> 
> PV Name (#)           /dev/hdf1 (6)
> PV Status             available / allocatable
> Total PE / Free PE    19078 / 5365
> 
> Now, I perform the following pvmove command:
> 
> Pvmove /dev/hdg1
> 
> And it says that there are insufficient free/allocatable physical extents.
> 
> But if I look at the list, the 9814 pvs on hdg1 should be across hdh1, hde1
> and hdf1.
> 
> Have I got this correct?  Is there perhaps a step that I'm missing?  If I
> am, do please let me know.

LV(s) on hdg1 larger than 8347 PEs with contiguous allocation pollicy set ?
(see "man lvchange" how to reset)

> 
> 	Thanks,
> 		Erik.
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

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

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

end of thread, other threads:[~2004-05-15  8:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-14 18:39 [linux-lvm] Can't seem to make pvmove do the work Erik Ch. Ohrnberger
2004-05-15  8:11 ` Heinz Mauelshagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox