[lxc-users] LXD_LVM_LVSIZE envvar usage
Fabrizio Furnari
fab.furnari at gmail.com
Mon Mar 14 15:55:21 UTC 2016
I've also tried to export it into the /etc/init.d/lxd script in the same
way, but seems not to apply...Is it possible that applies only during the
LV thinpool creation time (LXDPool)?
On Mon, Mar 14, 2016 at 4:51 PM, Tycho Andersen <
tycho.andersen at canonical.com> wrote:
> On Mon, Mar 14, 2016 at 03:14:31PM +0100, Fabrizio Furnari wrote:
> > 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?
>
> It needs to be set in LXD's environment, not the client's.
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160314/3c8e51ef/attachment.html>
More information about the lxc-users
mailing list