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

2014-06-04 Thread Fajar A. Nugraha
On Wed, Jun 4, 2014 at 5:49 PM, Marcel Sánchez Toledano marcelsanch...@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

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

2014-06-04 Thread Marcel Sánchez Toledano
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... Thank you again, *Marcel Sánchez Toledano* 2014-06-04 12:58 GMT+02:00 Fajar A. Nugraha

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

2014-06-04 Thread Fajar A. Nugraha
On Wed, Jun 4, 2014 at 6:04 PM, Marcel Sánchez Toledano marcelsanch...@gmail.com wrote: 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? have you ever created an image file

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

2014-06-04 Thread Serge Hallyn
Quoting Marcel Sánchez Toledano (marcelsanch...@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

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

2014-06-04 Thread Marcel Sánchez Toledano
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

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

2014-06-04 Thread Serge Hallyn
If I'm understanding you right, then yes. Quoting Marcel Sánchez Toledano (marcelsanch...@gmail.com): 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