[linux-lvm] New lv cannot span pv's

Stefan Nilsen stefan.nilsen at wale.dyndns.dk
Tue Feb 4 12:28:01 UTC 2003


Hi.

I'm using LVM on SuSE 8.1

As can be seen below, I cannot create a logical volume spanning physical 
volumes even if they are in the same volume group.

I'm pretty sure I could do this in older versions of the LVM.

wale:~ # pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE   PV "/dev/hda5" of VG "vgdata" [11.60 GB / 3.16 GB 
free]
pvscan -- ACTIVE   PV "/dev/hda6" of VG "vgdata" [21.71 GB / 3.24 GB 
free]
pvscan -- total: 2 [33.31 GB] / in use: 2 [33.31 GB] / in no VG: 0 [0]

wale:~ # lvcreate -ntest -L5G vgdata
lvcreate -- not enough allocatable/free physical volume space in 
"vgdata"
lvcreate -- please check, if physical volumes are allocatable

Do I really have to use MD to overcome this problem?
Shouldn't the LVM software take care of this?

/Stefan




More information about the linux-lvm mailing list