System Administration

Extending striped logical volume

 
Brett Simpson
Frequent Advisor

Extending striped logical volume

I have an LV that was created with 47 stripes and now need to increase it. Does that mean that I have to add 47 disks?

LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 1618304
Current LE 12643
Allocated PE 12643
Stripes 47
Stripe Size (Kbytes) 64
Bad block on
Allocation strict
IO Timeout (Seconds) default
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: Extending striped logical volume

In a word: YES

Since it was set up striped, when you extend LVM must be able extend across the same number of disks the LV was originally striped across.
James R. Ferguson
Acclaimed Contributor

Re: Extending striped logical volume

Hi Brett:

> Does that mean that I have to add 47 disks?

Yes, that's that downside. See the manpages for 'lvextend'.

Regards!

...JRF...
Brett Simpson
Frequent Advisor

Re: Extending striped logical volume

Thanks for the quick response.