* [linux-lvm] Insufficient allocatable extents suitable for striping for logical volume
@ 2003-11-28 3:38 Nowicki Christophe
2003-11-28 3:58 ` Patrick Caulfield
0 siblings, 1 reply; 5+ messages in thread
From: Nowicki Christophe @ 2003-11-28 3:38 UTC (permalink / raw)
To: linux-lvm
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?
I have not enough free space on hda5 and LVM doesn't move automatically
data form hda5 to hdb5?
Thanks a lot
--
Meuuuhh elle fait la vache :)) _(__)_
Nowicki Christophe '-e e -'__,--.__)
17, rue Saint Exupery (o_o) )
77500 Chelles \. /___. |
Etudiant EPITECH Promo 2006 ||| _)/_)/
http://etud.epita.fr/~nowick_c/nowick_c.asc //_(/_(/_(
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Insufficient allocatable extents suitable for striping for logical volume
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
2003-11-30 18:13 ` Nowicki Christophe
0 siblings, 1 reply; 5+ messages in thread
From: Patrick Caulfield @ 2003-11-28 3:58 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Insufficient allocatable extents suitable for striping for logical volume
2003-11-28 3:58 ` Patrick Caulfield
@ 2003-11-30 18:13 ` Nowicki Christophe
2003-11-30 19:10 ` Alasdair G Kergon
0 siblings, 1 reply; 5+ messages in thread
From: Nowicki Christophe @ 2003-11-30 18:13 UTC (permalink / raw)
To: linux-lvm
Hello,
> 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.
I converted my meta data to LVM2 :
#vgdisplay
--- Volume group ---
VG Name main
System ID PV_IMPTuX1061637595
Format lvm2
Metadata Areas 2
Metadata Sequence No 1
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
#pvdisplay
Physical volume "/dev/hda5" of volume group "main" is exported
--- Physical volume ---
PV Name /dev/hda5
VG Name main (exported)
PV Size 31.25 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 1000
Free PE 0
Allocated PE 1000
PV UUID Kyk15O-llcC-IVcO-VnhM-gDbZ-DlPd-UXABpn
Physical volume "/dev/hdb5" of volume group "main" is exported
--- Physical volume ---
PV Name /dev/hdb5
VG Name main (exported)
PV Size 18.16 GB / not usable 0
Allocatable yes
PE Size (KByte) 32768
Total PE 581
Free PE 325
Allocated PE 256
PV UUID ELffaP-gavW-bMJA-Nx6K-qFqi-eDsk-Pwq3jL
But is still not work :
#lvcreate -i2 -I4 -L1G -n main/lv_usr
Insufficient allocatable extents suitable for striping for logical
volume lv_usr: 32 required
How can I move one logical volume from /dev/hda5 to /dev/hdb5 ?
Thanks a lot.
--
Meuuuhh elle fait la vache :)) _(__)_
Nowicki Christophe '-e e -'__,--.__)
17, rue Saint Exupery (o_o) )
77500 Chelles \. /___. |
Etudiant EPITECH Promo 2006 ||| _)/_)/
http://etud.epita.fr/~nowick_c/nowick_c.asc //_(/_(/_(
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Insufficient allocatable extents suitable for striping for logical volume
2003-11-30 18:13 ` Nowicki Christophe
@ 2003-11-30 19:10 ` Alasdair G Kergon
2003-12-01 13:50 ` Jose Luis Domingo Lopez
0 siblings, 1 reply; 5+ messages in thread
From: Alasdair G Kergon @ 2003-11-30 19:10 UTC (permalink / raw)
To: linux-lvm
On Mon, Dec 01, 2003 at 01:08:20AM +0100, Nowicki Christophe wrote:
> >> System : Linux TuX 2.6.0-test9 #8 SMP Sun Nov 2 10:40:22 CET 2003 i686
> Insufficient allocatable extents suitable for striping for logical
> volume lv_usr: 32 required
> How can I move one logical volume from /dev/hda5 to /dev/hdb5 ?
Using pvmove - but not supported on 2.6 kernels yet.
Otherwise forget the striping, and create or extend LVs on the other
disk - LVM2 will let you specify a different number of stripes
when you extend an LV (e.g. lvextend -i1).
Alasdair
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Insufficient allocatable extents suitable for striping for logical volume
2003-11-30 19:10 ` Alasdair G Kergon
@ 2003-12-01 13:50 ` Jose Luis Domingo Lopez
0 siblings, 0 replies; 5+ messages in thread
From: Jose Luis Domingo Lopez @ 2003-12-01 13:50 UTC (permalink / raw)
To: linux-lvm
On Monday, 01 December 2003, at 01:09:02 +0000,
Alasdair G Kergon wrote:
> Otherwise forget the striping, and create or extend LVs on the other
> disk - LVM2 will let you specify a different number of stripes
> when you extend an LV (e.g. lvextend -i1).
>
Any idea about when "pvmove" for linux kernels 2.6.x could be ready for
wider testing ?
Greetings.
--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.0-test10-mm1)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-12-01 13:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2003-11-30 18:13 ` Nowicki Christophe
2003-11-30 19:10 ` Alasdair G Kergon
2003-12-01 13:50 ` Jose Luis Domingo Lopez
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.