[CentOS] LVM & Stripe

Tue Mar 9 00:31:00 UTC 2010
Christopher Chan <christopher.chan at bradbury.edu.hk>

On Tuesday, March 09, 2010 06:40 AM, Lincoln Zuljewic Silva wrote:
> Hello list,
>
> I have a question about LVM.
>
> My server has five disks and I will use it to create a LVM environment.
>
> I saw in the lvcreate man page that I can use the “-i” option to set
> the number of disks that I want to stripe the lvols, but this option
> doesn’t exists in the “lvchange” option (in case I add new disks to
> the VG).
>
> I had in mind: create 10 lvols – “lvcreate -i5 -L 10G MyVG
> /dev/MyVG/lvol[1-10]” and in the future, add more disks and increate
> the stripe value of the existing lvols.

I would recommend md striping over lvm but then lvm is a bit more 
flexible on that score if you have disks of varying size. What are you 
using as your physical volumes?


>
> Does anybody knows how to change the parameter “-i" of a lvol that
> already exists?

It appears to be fixed at creation time. Kinda hard to let you mess 
around with stripesize and what not after stuff has been laid out on the 
platters.