[linux-lvm] Can't seem to make pvmove do the work

Heinz Mauelshagen mauelshagen at redhat.com
Sat May 15 08:11:38 UTC 2004


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 at 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 at RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the linux-lvm mailing list