<div dir="ltr">I assume that:<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">sudo lxc-create -t ubuntu -B loop </span><font face="arial, sans-serif">--fstype btrfs</font><span style="font-family:arial,sans-serif;font-size:13px"> -n loop1</span></div>

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

<div><pre style="color:rgb(0,0,0);font-size:13px;line-height:20.799999237060547px">lxc-create -n template -t ubuntu -B btrfs</pre><pre style="color:rgb(0,0,0);font-size:13px;line-height:20.799999237060547px"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;white-space:normal">and specifing in "lxc.rootfs" the path "mnt/vfs", for example.</span><br>

</pre><pre style="color:rgb(0,0,0);font-size:13px;line-height:20.799999237060547px"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;white-space:normal"><br></span></pre><pre style="color:rgb(0,0,0);font-size:13px;line-height:20.799999237060547px">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;white-space:normal">Is that correct?</span><br></pre></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><br></div>

<div><b style="font-family:arial;font-size:small"><font color="#666666">Marcel Sánchez Toledano</font></b><br></div><br></div></div>
<br><br><div class="gmail_quote">2014-06-04 15:15 GMT+02:00 Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

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