[lxc-users] lxd: "-B backingstore" equivalent?

Tycho Andersen tycho.andersen at canonical.com
Fri Jun 5 13:58:02 UTC 2015


Hi Tomasz,

On Fri, Jun 05, 2015 at 07:22:25PM +0900, Tomasz Chmielewski wrote:
> Is there a "-B btrfs" equivalent in lxd?

Yes, if you mount /var/lib/lxd as a btrfs subvolume, it should Just
Work.

> For example, with lxc, I would use:
> 
> # lxc-create --template download --name test-container -B btrfs
> 
>        -B backingstore
>               'backingstore'  is  one  of  'dir',  'lvm', 'loop', 'btrfs',
> 'zfs', or 'best'. The default is 'dir', meaning that the container root
> filesystem will be a directory under /var/lib/lxc/container/rootfs.
> 
> 
> How can I do the same with lxd (lxc command)? It seems to default to "dir".

LVM support is Coming Soon, and making it fast and stable will likely
be a primary focus.

Tycho

> # lxc launch images:ubuntu/trusty/amd64 test-container
> 
> 
> -- 
> Tomasz Chmielewski
> http://wpkg.org
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list