On 1/4/06, Jon Brock <[EMAIL PROTECTED]> wrote:
>
>
> [EMAIL PROTECTED] root]# vgdisplay vgdocs02
> --- Volume group ---
> VG Name               vgdocs02
> VG Access             read/write
> VG Status             available/resizable
> VG #                  2
> MAX LV                256
> Cur LV                0
> Open LV               0
> MAX LV Size           2 TB
> Max PV                256
> Cur PV                12
> Act PV                12
> VG Size               27 GB
> PE Size               32 MB
> Total PE              864
> Alloc PE / Size       0 / 0
> Free  PE / Size       864 / 27 GB
> VG UUID               HFK82N-4DWM-GkFl-wxSe-Vpvu-gozi-dDm2af
>
>
> [EMAIL PROTECTED] root]# lvcreate --stripes 8 -L24G -n lvdocs02 vgdocs02
> lvcreate -- INFO: using default stripe size 16 KB
> lvcreate -- not enough allocatable/free physical volume space in
> "vgdocs02"
> lvcreate -- please check, if physical volumes are allocatable
>
>
>

Try this lvcreate command instead:

lvcreate --stripes 12 -l 864 -n lvdocs02 vgdocs02

I would use 12 stripes since that is the number of volumes you have in the
group, therefore thats also the number of IOs you can have in flight at a
time.

I would also use the -l parameter over the -L and give it the number of
Physical Extents (PE) you want the lv to use. It seems to be more consistant
that way, and you get exactly what you asked for.

Be aware that if you are going to be striping the lv like this, you are
basically preventing youself from being able to grow the file system like
you can with a non-striped lv. You would have to dump and restore the file
system to a larger lv that you had created previously.

--
Jay Brenneman

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to