[linux-lvm] Stripes and PE's
AJ Lewis
alewis at redhat.com
Mon Jun 14 13:22:35 UTC 2004
On Fri, Jun 11, 2004 at 06:07:07PM -0600, Tyler wrote:
> I'm having problems creating a logical volume on a 4 disk SCSI volume group.
> I want to use the entire space as 1 LV that is striped, but can't seem to do
> it.
>
> I get an error telling me I don't have enough Physical Extents, when I
> clearly do.
look at the output of 'pvs' - it will tell you the number of physical
extents free on each disk. Take the lowest number of physical extents in
the set of PVs in your VG and multiply it by 4, then use that number when
doing your striping. LVM requires each stripe to be on a separate PV
currently.
> livecd root # vgdisplay
> --- Volume group ---
> VG Name group
> System ID
> Format lvm2
> Metadata Areas 4
> Metadata Sequence No 1
> VG Access read/write
> VG Status resizable
> MAX LV 255
> Cur LV 0
> Open LV 0
> Max PV 255
> Cur PV 4
> Act PV 4
> VG Size 13.91 GB
> PE Size 4.00 MB
> Total PE 3560
> Alloc PE / Size 0 / 0
> Free PE / Size 3560 / 13.91 GB
> VG UUID DjxWid-oxqx-zol9-Lu8a-CO94-AsBn-c7k3le
>
> livecd root # lvcreate -i4 -I16 -l3560 -nstorage group
> Insufficient allocatable extents suitable for striping for logical volume
> storage: 3560 required
> livecd root # lvcreate -i4 -I16 -l3000 -nstorage group
> Insufficient allocatable extents suitable for striping for logical volume
> storage: 3000 required
>
> Even if I try to use less space then it says I have, it still wont let me.
>
> I've had this error before, but never found a solution. I also have not
> found the solution on the mailing list archives either. I can create a
> contiguous LV, but without striping. I'd like to have it striped if I
> could.
>
> What am I doing wrong?
>
> Tyler
>
> _______________________________________________
> 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/
--
AJ Lewis Voice: 612-638-0500
Red Hat Inc. E-Mail: alewis at redhat.com
720 Washington Ave. SE, Suite 200
Minneapolis, MN 55414
Current GPG fingerprint = FE77 4B43 6A9B F982 A731 02FA 2BF5 7574 294A AA5A
Grab the key at: http://people.redhat.com/alewis/gpg.html or one of the
many keyservers out there...
-----Begin Obligatory Humorous Quote----------------------------------------
665.9238429876 - Number of the Pentium Beast
-----End Obligatory Humorous Quote------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20040614/1a85a86b/attachment.sig>
More information about the linux-lvm
mailing list