[lxc-users] About creating a BTRFS file instead of a BTRFS partition

Fajar A. Nugraha list at fajar.net
Wed Jun 4 10:58:37 UTC 2014


On Wed, Jun 4, 2014 at 5:49 PM, Marcel Sánchez Toledano <
marcelsanchezt at gmail.com> wrote:
> Hi all again,
>
> Recently I've been asked if it's possible to store LXC containers in a
BTRFS
> filesystem. I know it is possible to do this creating a partition in BTRFS
> and setting the path in that partition.
>
> But what I need to know if it's possible to create the BTRFS filesystem
> inside a file (not a partition). I mean, an expandable file, which will be
> the path for LXC containers.

from "man lxc.container.conf":

       lxc.rootfs
              specify  the  root  file  system for the container. It can be
an *image file*, a directory or a block device.


Does that answer your question?

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140604/31169024/attachment.html>


More information about the lxc-users mailing list