[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Cannot create a logical volume



Jaroslav Stava wrote:
>> [root 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 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 redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]