[lxc-users] About creating a BTRFS file instead of a BTRFS partition
Serge Hallyn
serge.hallyn at ubuntu.com
Wed Jun 4 13:15:02 UTC 2014
Quoting Marcel Sánchez Toledano (marcelsanchezt at gmail.com):
> 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)).
More information about the lxc-users
mailing list