From: Patrick Caulfield <caulfield@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Insufficient allocatable extents suitable for striping for logical volume
Date: Fri Nov 28 03:58:01 2003 [thread overview]
Message-ID: <20031128095658.GA2263@tykepenguin.com> (raw)
In-Reply-To: <34504.192.168.0.2.1069892769.squirrel@meuh.dyndns.org>
On Thu, Nov 27, 2003 at 01:26:09AM +0100, Nowicki Christophe wrote:
> Hello,
>
> I'am trying to setup a striped logical volume. But I am getting this error :
>
> #lvcreate -i2 -I4 -L1G -n main/lv_usr
> Insufficient allocatable extents suitable for striping for logical
> volume lv_usr: 32 required
>
> I don't understand this error. I did not find any anwser on google :(
>
> Where is my system config :
> Distro : Debian GNU/Linux "unstable"
> System : Linux TuX 2.6.0-test9 #8 SMP Sun Nov 2 10:40:22 CET 2003 i686
> GNU/Linux
> LVM Version : 2.00.07-1
> Hardware : 2x IDE Hard Disks Seagate ST340014A
> hda: ST340014A, ATA DISK drive
> hdb: ST340014A, ATA DISK drive
>
> vgdisplay
> --- Volume group ---
> VG Name main
> System ID PV_IMPTuX1061637595
> Format lvm1
> VG Access read/write
> VG Status resizable
> MAX LV 256
> Cur LV 3
> Open LV 3
> Max PV 256
> Cur PV 2
> Act PV 2
> VG Size 49.41 GB
> PE Size 32.00 MB
> Total PE 1581
> Alloc PE / Size 1256 / 39.25 GB
> Free PE / Size 325 / 10.16 GB
> VG UUID 3PL6Zl-KtFh-pOqH-ntf5-C5td-SPxt-uUFZqJ
>
> I have 10.16 Free GB. It's enough to setup a 1GB stripped logical volume,
> isn't it?
>
> #lvm pvscan
> PV /dev/hda5 is in exported VG main [31.25 GB / 0 free]
> PV /dev/hdb5 is in exported VG main [18.16 GB / 10.16 GB free]
> Total: 2 [10.16 GB] / in use: 2 [10.16 GB] / in no VG: 0 [0 ]
>
> May be the problem is here?
>
Yes, one volume is full so the volume can't be extended and still remain striped
- all the new extents would have to go onto hdb5.
This is a restriction with the LVM1 metadata format. You can convert the VG to
the lvm2 format with vgconvert and then extend the LV but be aware that the
extended part of it will not be striped like the rest.
--
patrick
next prev parent reply other threads:[~2003-11-28 3:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-28 3:38 [linux-lvm] Insufficient allocatable extents suitable for striping for logical volume Nowicki Christophe
2003-11-28 3:58 ` Patrick Caulfield [this message]
2003-11-30 18:13 ` Nowicki Christophe
2003-11-30 19:10 ` Alasdair G Kergon
2003-12-01 13:50 ` Jose Luis Domingo Lopez
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=20031128095658.GA2263@tykepenguin.com \
--to=caulfield@sistina.com \
--cc=linux-lvm@sistina.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