Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Stripes and PE's
@ 2004-06-12  0:07 Tyler
  2004-06-12  7:13 ` David Greaves
  2004-06-14 13:22 ` AJ Lewis
  0 siblings, 2 replies; 4+ messages in thread
From: Tyler @ 2004-06-12  0:07 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Stripes and PE's
  2004-06-12  0:07 [linux-lvm] Stripes and PE's Tyler
@ 2004-06-12  7:13 ` David Greaves
  2004-06-13  4:38   ` Tyler
  2004-06-14 13:22 ` AJ Lewis
  1 sibling, 1 reply; 4+ messages in thread
From: David Greaves @ 2004-06-12  7:13 UTC (permalink / raw)
  To: LVM general discussion and development

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


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [linux-lvm] Stripes and PE's
  2004-06-12  7:13 ` David Greaves
@ 2004-06-13  4:38   ` Tyler
  0 siblings, 0 replies; 4+ messages in thread
From: Tyler @ 2004-06-13  4:38 UTC (permalink / raw)
  To: 'LVM general discussion and development'

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: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] 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


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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Stripes and PE's
  2004-06-12  0:07 [linux-lvm] Stripes and PE's Tyler
  2004-06-12  7:13 ` David Greaves
@ 2004-06-14 13:22 ` AJ Lewis
  1 sibling, 0 replies; 4+ messages in thread
From: AJ Lewis @ 2004-06-14 13:22 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 2812 bytes --]

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@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@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------------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-14 13:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-12  0:07 [linux-lvm] Stripes and PE's Tyler
2004-06-12  7:13 ` David Greaves
2004-06-13  4:38   ` Tyler
2004-06-14 13:22 ` AJ Lewis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox