Re: lvcreate does not respect units?

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

 



On Mon, 14 Dec 2009, Alasdair G Kergon wrote:

On Mon, Dec 14, 2009 at 02:45:21PM +0100, Thomas Voegtle wrote:
vgdisplay  Free  PE / Size       6127 / 25.70 GB

root@(none):~# lvcreate -L 25.50g datavolume -n datavolume
lvcreate  Insufficient free extents (6127) in volume group datavolume:
6528 required

So it seems lvcreate does not respect the unit in power of 1000?

Use either:
  lvcreate -l 6127
or
  lvcreate -l 100%FREE


Yes, thanks. I know.


But I thought you guys would like to hear from bugs?

Why is it possible to use vgdisplay with units power of 1000, if you
cant use lvcreate with that kind of units?

The lvcreate man page says:

     -L, --size LogicalVolumeSize[bBsSkKmMgGtTpPeE]

_______________________________________________
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