I assume that:

sudo lxc-create -t ubuntu -B loop --fstype btrfs -n loop1

Should be the same as creating a loopback filesystem (as specified here
<http://www.walkernews.net/2007/07/01/create-linux-loopback-file-system-on-disk-file/>,
but with btrfs instead of ext3) and then:

lxc-create -n template -t ubuntu -B btrfs

and specifing in "lxc.rootfs" the path "mnt/vfs", for example.


Is that correct?



*Marcel Sánchez Toledano*



2014-06-04 15:15 GMT+02:00 Serge Hallyn <[email protected]>:

> Quoting Marcel Sánchez Toledano ([email protected]):
> > Partially yes. Thanks for that.
> >
> > Maybe is a bit offtopic, but.. Do you know any manual or website where I
> > can found information about creating a image file with BRTFS? I have
> tried
> > with no luck...
>
> If you want a loopback file, you can just
>
> sudo lxc-create -t download -B loop -n loop1 -- -d ubuntu -r trusty -a
> amd64
>
> (just tested, still works for me)
>
> You can specify the loopback size and fstype as well (see lxc-create(1)).
> _______________________________________________
> lxc-users mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to