Skip to contentSkip to conversation

Stripes and PE's

linux-lvm Tyler 3 participants 4 messages Jun 12, 2004 – Jun 14, 2004

lore
Share & tools
lore

Tyler

author
#0 lore raw

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.

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

#1 lore raw

I had a similar problem.

I fixed it by turning off contiguous
http://www.redhat.com/archives/linux-lvm/2004-April/msg00050.html

Can't say anyone was particularly helpful about enlightening me <shrug> :)

Maybe you could create a non-striped contiguous over a striped md array?

David

Quoted 55 lines · Tyler

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.

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
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

author
#2 lore raw

Unfortunately, that didn't work.

cluster6 root # lvcreate -Cn -i4 -I16 -l3560 -nstorage group
Insufficient allocatable extents suitable for parallel use for logical
volume storage: 3560 required
cluster6 root # lvcreate -i4 -I16 -l3560 -nstorage group
Insufficient allocatable extents suitable for parallel use for logical
volume storage: 3560 required

Any other suggestions?

Tyler

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of David Greaves
Sent: Saturday, June 12, 2004 1:13 AM
To: LVM general discussion and development
Subject: Re: [linux-lvm] Stripes and PE's

I had a similar problem.

I fixed it by turning off contiguous
http://www.redhat.com/archives/linux-lvm/2004-April/msg00050.html

Can't say anyone was particularly helpful about enlightening me <shrug> :)

Maybe you could create a non-striped contiguous over a striped md array?

David

Quoted 1 line · Tyler

I'm having problems creating a logical volume on a 4 disk SCSI volume

group.

Quoted 1 line

I want to use the entire space as 1 LV that is striped, but can't seem to

do

Quoted 43 lines

it.

I get an error telling me I don't have enough Physical Extents, when I clearly do.

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?

Quoted 10 lines

Tyler

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#3 lore raw
In reply to Tyler
Quoted 6 lines · Tyler

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.

Quoted 45 lines

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
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Signature · 11 lines
AJ Lewis                                   Voice:  612-638-0500
Red Hat Inc.                               E-Mail: [email protected]
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------------------------------------------