[linux-lvm] Cannot create a logical volume
Milan Broz
mbroz at redhat.com
Fri Sep 12 18:45:13 UTC 2008
Jaroslav Stava wrote:
>> [root at localhost ~]# pvscan
>> PV /dev/md3 VG gt_vg lvm2 [909.91 GB / 909.91 GB free]
>> Total: 1 [909.91 GB] / in use: 1 [909.91 GB] / in no VG: 0 [0 ]
...
>> [root at localhost ~]# lvcreate -L 5G -n data gt_vg
>> Not enough PVs with free space available for parallel allocation.
>> Consider --alloc anywhere if desperate.
>>
>> Any feedback would be very much appreciated,
>>
>> Thanks for your time,
>>
>>
> AFAIK this message should be seen only when trying to create a mirrored
> or striped lv.
There is another possible problem:
Is the PV allowed to allocate any extents?
Please check "pvdisplay /dev/md3" - there should be
Allocatable yes
If not, allow allocation on the PV: "pvchange -x y /dev/md3"
and try lvcreate again.
That error message is misleading it this situation...
Milan
--
mbroz at redhat.com
More information about the linux-lvm
mailing list