[lxc-users] LXD_LVM_LVSIZE envvar usage

Fabrizio Furnari fab.furnari at gmail.com
Mon Mar 14 14:14:31 UTC 2016


Hi all,
I've just seen that in the latest RC developers added the possibility to
specify the LV size when creating new containers.
I've updated to 2.0.0~rc3-0ubuntu1~ubuntu14.04.1~ppa1 on my Ubuntu box but
when I try for example:

$ export LXD_LVM_LVSIZE="1GiB"
$ lxc launch 0d07f11f3f2a testcontainer
$ lvdisplay
/dev/vg0/0d07f11f3f2a0804f501967d278d72a8122b1ec49f01aae4483a41fd9fb546f3 |
grep Size

  LV Size                10.00 GiB

Still uses the default value. What I have to do to set it?

Thanks,

fabfur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160314/bbb5afb9/attachment.html>


More information about the lxc-users mailing list