Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] pvmove unable to move extents to multiple smaller pvs
@ 2004-09-29  6:18 Scott Serr
  2004-09-29 20:02 ` Scott Serr
  0 siblings, 1 reply; 5+ messages in thread
From: Scott Serr @ 2004-09-29  6:18 UTC (permalink / raw)
  To: linux-lvm

I'm trying to use pvmove to shuffle things around.  I have a pv with 
22375 extents which I would like to remove from the system.  I've added 
two (2) pvs with 11194 extents each.  I get an error message:

Insufficient contiguous allocatable extents (11194) for logical volume 
pvmove0: 22375 required
Allocation for temporary pvmove LV

Now before you say, don't make it contiguous... It seems that it isn't 
already.

# lvchange --contiguous n /dev/data_vg/data_lv
Allocation policy of logical volume "data_lv" is already not contiguous

Is this normal?  Do I really need all that contiguous space on 1 pv?

Thanks in advance,
Scott Serr

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

* Re: [linux-lvm] pvmove unable to move extents to multiple smaller pvs
  2004-09-29  6:18 [linux-lvm] pvmove unable to move extents to multiple smaller pvs Scott Serr
@ 2004-09-29 20:02 ` Scott Serr
  2004-09-29 20:20   ` Clint Byrum
  0 siblings, 1 reply; 5+ messages in thread
From: Scott Serr @ 2004-09-29 20:02 UTC (permalink / raw)
  To: LVM general discussion and development

Some more information that may be of use:
kernel 2.4.26 (vanilla) on gentoo on a P4 HT and SMP is enabled
lvm 2.00.08

It seems that everytime I do a "pvmove" it would be hard to always go to 
a contiguous pv the same size or bigger.  This is why I wonder if I'm 
doing something wrong.

Thanks again [to anyone out there],
Scott Serr

Scott Serr wrote:

> I'm trying to use pvmove to shuffle things around.  I have a pv with 
> 22375 extents which I would like to remove from the system.  I've 
> added two (2) pvs with 11194 extents each.  I get an error message:
>
> Insufficient contiguous allocatable extents (11194) for logical volume 
> pvmove0: 22375 required
> Allocation for temporary pvmove LV
>
> Now before you say, don't make it contiguous... It seems that it isn't 
> already.
>
> # lvchange --contiguous n /dev/data_vg/data_lv
> Allocation policy of logical volume "data_lv" is already not contiguous
>
> Is this normal?  Do I really need all that contiguous space on 1 pv?
>
> Thanks in advance,
> Scott Serr
>
> _______________________________________________
> 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/

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

* Re: [linux-lvm] pvmove unable to move extents to multiple smaller pvs
  2004-09-29 20:02 ` Scott Serr
@ 2004-09-29 20:20   ` Clint Byrum
  2004-09-29 21:09     ` Scott Serr
  2004-09-30  3:20     ` Scott Serr
  0 siblings, 2 replies; 5+ messages in thread
From: Clint Byrum @ 2004-09-29 20:20 UTC (permalink / raw)
  To: LVM general discussion and development

On Wed, 2004-09-29 at 13:02, Scott Serr wrote:
> Some more information that may be of use:
> kernel 2.4.26 (vanilla) on gentoo on a P4 HT and SMP is enabled
> lvm 2.00.08
> 
> It seems that everytime I do a "pvmove" it would be hard to always go to 
> a contiguous pv the same size or bigger.  This is why I wonder if I'm 
> doing something wrong.
> 

Scott, I think this was just discussed on the list last week. What you
need to do is pvmove in smaller chunks. pvmove only sees the first
available block of PE's.

So

pvmove /dev/diskdev:1-11194

Or something like that. Check the list archives from 2 or 3 days ago.

> Thanks again [to anyone out there],
> Scott Serr
> 
> Scott Serr wrote:
> 
> > I'm trying to use pvmove to shuffle things around.  I have a pv with 
> > 22375 extents which I would like to remove from the system.  I've 
> > added two (2) pvs with 11194 extents each.  I get an error message:
> >
> > Insufficient contiguous allocatable extents (11194) for logical volume 
> > pvmove0: 22375 required
> > Allocation for temporary pvmove LV
> >
> > Now before you say, don't make it contiguous... It seems that it isn't 
> > already.
> >
> > # lvchange --contiguous n /dev/data_vg/data_lv
> > Allocation policy of logical volume "data_lv" is already not contiguous
> >
> > Is this normal?  Do I really need all that contiguous space on 1 pv?
> >
> > Thanks in advance,
> > Scott Serr
> >
> > _______________________________________________
> > 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/
> 
> _______________________________________________
> 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/
> 

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

* Re: [linux-lvm] pvmove unable to move extents to multiple smaller pvs
  2004-09-29 20:20   ` Clint Byrum
@ 2004-09-29 21:09     ` Scott Serr
  2004-09-30  3:20     ` Scott Serr
  1 sibling, 0 replies; 5+ messages in thread
From: Scott Serr @ 2004-09-29 21:09 UTC (permalink / raw)
  To: LVM general discussion and development

Oh man, thanks.  I did many many searches, but not on the list specifically.

Thanks, I'll read and try it!
Scott

Clint Byrum wrote:

>On Wed, 2004-09-29 at 13:02, Scott Serr wrote:
>  
>
>>Some more information that may be of use:
>>kernel 2.4.26 (vanilla) on gentoo on a P4 HT and SMP is enabled
>>lvm 2.00.08
>>
>>It seems that everytime I do a "pvmove" it would be hard to always go to 
>>a contiguous pv the same size or bigger.  This is why I wonder if I'm 
>>doing something wrong.
>>
>>    
>>
>
>Scott, I think this was just discussed on the list last week. What you
>need to do is pvmove in smaller chunks. pvmove only sees the first
>available block of PE's.
>
>So
>
>pvmove /dev/diskdev:1-11194
>
>Or something like that. Check the list archives from 2 or 3 days ago.
>
>  
>
>>Thanks again [to anyone out there],
>>Scott Serr
>>
>>Scott Serr wrote:
>>
>>    
>>
>>>I'm trying to use pvmove to shuffle things around.  I have a pv with 
>>>22375 extents which I would like to remove from the system.  I've 
>>>added two (2) pvs with 11194 extents each.  I get an error message:
>>>
>>>Insufficient contiguous allocatable extents (11194) for logical volume 
>>>pvmove0: 22375 required
>>>Allocation for temporary pvmove LV
>>>
>>>Now before you say, don't make it contiguous... It seems that it isn't 
>>>already.
>>>
>>># lvchange --contiguous n /dev/data_vg/data_lv
>>>Allocation policy of logical volume "data_lv" is already not contiguous
>>>
>>>Is this normal?  Do I really need all that contiguous space on 1 pv?
>>>
>>>Thanks in advance,
>>>Scott Serr
>>>
>>>_______________________________________________
>>>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/
>>>      
>>>
>>_______________________________________________
>>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/
>>
>>    
>>
>
>_______________________________________________
>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/
>  
>

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

* Re: [linux-lvm] pvmove unable to move extents to multiple smaller pvs
  2004-09-29 20:20   ` Clint Byrum
  2004-09-29 21:09     ` Scott Serr
@ 2004-09-30  3:20     ` Scott Serr
  1 sibling, 0 replies; 5+ messages in thread
From: Scott Serr @ 2004-09-30  3:20 UTC (permalink / raw)
  To: LVM general discussion and development

For anyone out there with this problem...  if pvmove doesn't seem to 
understand specified PE ranges on the source PV, then upgrade to a newer 
LVM2.  Gentoo's current stable .08 does not have this, but the source 
2.00.25 sure does.

Clint Byrum wrote:

>On Wed, 2004-09-29 at 13:02, Scott Serr wrote:
>  
>
>>Some more information that may be of use:
>>kernel 2.4.26 (vanilla) on gentoo on a P4 HT and SMP is enabled
>>lvm 2.00.08
>>
>>It seems that everytime I do a "pvmove" it would be hard to always go to 
>>a contiguous pv the same size or bigger.  This is why I wonder if I'm 
>>doing something wrong.
>>
>>    
>>
>
>Scott, I think this was just discussed on the list last week. What you
>need to do is pvmove in smaller chunks. pvmove only sees the first
>available block of PE's.
>
>So
>
>pvmove /dev/diskdev:1-11194
>
>Or something like that. Check the list archives from 2 or 3 days ago.
>
>  
>
>>Thanks again [to anyone out there],
>>Scott Serr
>>
>>Scott Serr wrote:
>>
>>    
>>
>>>I'm trying to use pvmove to shuffle things around.  I have a pv with 
>>>22375 extents which I would like to remove from the system.  I've 
>>>added two (2) pvs with 11194 extents each.  I get an error message:
>>>
>>>Insufficient contiguous allocatable extents (11194) for logical volume 
>>>pvmove0: 22375 required
>>>Allocation for temporary pvmove LV
>>>
>>>Now before you say, don't make it contiguous... It seems that it isn't 
>>>already.
>>>
>>># lvchange --contiguous n /dev/data_vg/data_lv
>>>Allocation policy of logical volume "data_lv" is already not contiguous
>>>
>>>Is this normal?  Do I really need all that contiguous space on 1 pv?
>>>
>>>Thanks in advance,
>>>Scott Serr
>>>
>>>_______________________________________________
>>>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/
>>>      
>>>
>>_______________________________________________
>>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/
>>
>>    
>>
>
>_______________________________________________
>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/
>  
>

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

end of thread, other threads:[~2004-09-30  3:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-29  6:18 [linux-lvm] pvmove unable to move extents to multiple smaller pvs Scott Serr
2004-09-29 20:02 ` Scott Serr
2004-09-29 20:20   ` Clint Byrum
2004-09-29 21:09     ` Scott Serr
2004-09-30  3:20     ` Scott Serr

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