[linux-lvm] lvcreate does not respect units?

Alasdair G Kergon agk at redhat.com
Mon Dec 14 14:00:58 UTC 2009


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

Alasdair




More information about the linux-lvm mailing list