All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] lvcreate error
@ 2001-04-01 23:32 ardy
  2001-04-02 14:27 ` Patrick Caulfield
  0 siblings, 1 reply; 4+ messages in thread
From: ardy @ 2001-04-01 23:32 UTC (permalink / raw)
  To: linux-lvm

I'm trying to add a seventh logical volume on a two-disk, striped volume
group. vgdisplay shows the following:

--- Volume group ---
VG Name               vg0
VG Access             read/write
VG Status             available/resizable
VG #                  0
MAX LV                256
Cur LV                6
Open LV               6
MAX LV Size           255.99 GB
Max PV                256
Cur PV                2
Act PV                2
VG Size               14.24 GB
PE Size               4 MB
Total PE              3646
Alloc PE / Size       1436 / 5.61 GB
Free  PE / Size       2210 / 8.63 GB
VG UUID               v5Mf72-JidP-Fv7q-fm3G-TY95-21k9-4SV86i

I currently have six logical volumes mounted.
This is the rror I get when trying to create the seventh logical volume:

lvcreate -i2 -I4 -L4G -n lv6 vg0

lvcreate -- not enough allocatable/free physical volume space in "vg0"
lvcreate -- please check, if physical volumes are allocatable

I've redone this system, and the only difference is that I'm striping this
time. I was capable of creating more logical volumes when I wasn't
striping. Also, I could create a seventh volume using 3900MB, but not
4000MB.

Why is it choking at 4GB?

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

* Re: [linux-lvm] lvcreate error
  2001-04-01 23:32 ardy
@ 2001-04-02 14:27 ` Patrick Caulfield
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Caulfield @ 2001-04-02 14:27 UTC (permalink / raw)
  To: linux-lvm

On Sun, Apr 01, 2001 at 07:32:51PM -0400, ardy@rdb.linux-help.org wrote:
> I'm trying to add a seventh logical volume on a two-disk, striped volume
> group. vgdisplay shows the following:
> 
> I've redone this system, and the only difference is that I'm striping this
> time. I was capable of creating more logical volumes when I wasn't
> striping. Also, I could create a seventh volume using 3900MB, but not
> 4000MB.

When you create a striped LV of 4g you will need 2g free on both disks. You can
check this with pvscan.


patrick

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

* [linux-lvm] lvcreate error
@ 2004-10-05 22:09 rich turner
  2004-10-05 22:16 ` Alasdair G Kergon
  0 siblings, 1 reply; 4+ messages in thread
From: rich turner @ 2004-10-05 22:09 UTC (permalink / raw)
  To: LVM general discussion and development

i have created a bunch of logical volumes on a single system with the
following commands:
#lvcreate -C n -l 512 -n backuplv -p rw --persistent y --major 253
--minor 255 -r 0 vg0
#lvcreate -C n -l 512 -n datalv -p rw --persistent y --major 253 --minor
254 -r 0 vg0
#lvcreate -C n -l 512 -n homelv -p rw --persistent y --major 253 --minor
253 -r 0 vg0
#lvcreate -C n -l 256 -n optlv -p rw --persistent y --major 253 --minor
252 -r 0 vg0
#lvcreate -C n -l 64 -n rootlv -p rw --persistent y --major 253 --minor
251 -r 0 vg0
#lvcreate -C n -l 128 -n swaplv -p rw --persistent y --major 253 --minor
250 -r 0 vg0
#lvcreate -C n -l 50 -n testllv1 -p rw --persistent y --major 253
--minor 249 -r 0 vg0
#lvcreate -C n -l 50 -n testllv2 -p rw --persistent y --major 253
--minor 248 -r 0 vg0
#lvcreate -C n -l 50 -n testllv3 -p rw --persistent y --major 253
--minor 247 -r 0 vg0
#lvcreate -C n -l 50 -n testllv4 -p rw --persistent y --major 253
--minor 246 -r 0 vg0
#lvcreate -C n -l 50 -n testllv5 -p rw --persistent y --major 253
--minor 245 -r 0 vg0
#lvcreate -C n -l 50 -n testllv6 -p rw --persistent y --major 253
--minor 244 -r 0 vg0
#lvcreate -C n -l 768 -n tmplv -p rw --persistent y --major 253 --minor
243 -r 0 vg0

when i try to create the next one it fails with the following error:
#lvcreate -C n -l 640 -n usrlv -p rw --persistent y --major 253 --minor
242 -r 0 vg0
Physical extent 0 of /dev/hdb2 referenced by more thatn one logical
volume. Couldn't fill extent allocation bitmaps vg0.

what did i do wrong?

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

* Re: [linux-lvm] lvcreate error
  2004-10-05 22:09 [linux-lvm] lvcreate error rich turner
@ 2004-10-05 22:16 ` Alasdair G Kergon
  0 siblings, 0 replies; 4+ messages in thread
From: Alasdair G Kergon @ 2004-10-05 22:16 UTC (permalink / raw)
  To: LVM general discussion and development

On Tue, Oct 05, 2004 at 03:09:22PM -0700, rich turner wrote:
> i have created a bunch of logical volumes on a single system with the
> following commands:
> #lvcreate -C n -l 512 -n backuplv -p rw --persistent y --major 253
> --minor 255 -r 0 vg0

...

> when i try to create the next one it fails with the following error:
> #lvcreate -C n -l 640 -n usrlv -p rw --persistent y --major 253 --minor
> 242 -r 0 vg0
> Physical extent 0 of /dev/hdb2 referenced by more thatn one logical
> volume. Couldn't fill extent allocation bitmaps vg0.
 
Please report what version of LVM2 you're using ('lvm version') and
what architecture and what kernel.

If it's version 2.00.17 or later, please tar/zip /etc/lvm directory
and email it to me (not the list).  (Before that version, I'm not 
interested.)  Also enable debugging-to-log-file for the command that 
fails and send me the complete output (compressed).
  e.g. lvm.conf:  in log section:      
    file="/tmp/lvm2.log"
    level=7

Also (of course) try to reproduce with latest release (2.00.25).

Alasdair
-- 
agk@redhat.com

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

end of thread, other threads:[~2004-10-05 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-05 22:09 [linux-lvm] lvcreate error rich turner
2004-10-05 22:16 ` Alasdair G Kergon
  -- strict thread matches above, loose matches on Subject: below --
2001-04-01 23:32 ardy
2001-04-02 14:27 ` Patrick Caulfield

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.