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

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

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 par

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 : > On W

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 imag

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, yo

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 , but with btrfs instead of ext3) and then: lxc-create -n templat

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 >