Linux LVM users
 help / color / mirror / Atom feed
From: AJ Lewis <alewis@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Stripes and PE's
Date: Mon, 14 Jun 2004 08:22:35 -0500	[thread overview]
Message-ID: <20040614132235.GI5508@null.msp.redhat.com> (raw)
In-Reply-To: <0HZ600B8D5NVF4@l-daemon>

[-- 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 --]

      parent reply	other threads:[~2004-06-14 13:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040614132235.GI5508@null.msp.redhat.com \
    --to=alewis@redhat.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox