Re: Cannot create a logical volume

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

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux