Re: [lxc-users] Setting a limit on the disk size that a container can use

2014-06-27 Thread Fajar A. Nugraha
On second thought, DON'T use scst/LIO in loopback configuration. Or any other inititator-target configuration in the same host where both initiator and target are in-kernel (this includes nfs). Using these kind of setup can lead to memory allocation deadlock. It should be fine for testing/migratio

Re: [lxc-users] Setting a limit on the disk size that a container can use

2014-06-27 Thread Qiang Huang
On 2014/6/27 12:18, Fajar A. Nugraha wrote: > On Fri, Jun 27, 2014 at 11:02 AM, Qiang Huang > wrote: > > On 2014/6/27 11:38, Fajar A. Nugraha wrote: > > On Fri, Jun 27, 2014 at 9:28 AM, Qiang Huang

Re: [lxc-users] Setting a limit on the disk size that a container can use

2014-06-26 Thread Serge Hallyn
Quoting Fajar A. Nugraha (l...@fajar.net): > On Fri, Jun 27, 2014 at 11:02 AM, Qiang Huang > wrote: > > > On 2014/6/27 11:38, Fajar A. Nugraha wrote: > > > On Fri, Jun 27, 2014 at 9:28 AM, Qiang Huang > > wrote: > > > > > > On 2014/3/16 17:07, Guido Jäkel wrot

Re: [lxc-users] Setting a limit on the disk size that a container can use

2014-06-26 Thread Fajar A. Nugraha
On Fri, Jun 27, 2014 at 11:02 AM, Qiang Huang wrote: > On 2014/6/27 11:38, Fajar A. Nugraha wrote: > > On Fri, Jun 27, 2014 at 9:28 AM, Qiang Huang > wrote: > > > > On 2014/3/16 17:07, Guido Jäkel wrote: > > > ... or use an image file on an abitrary file s

Re: [lxc-users] Setting a limit on the disk size that a container can use

2014-06-26 Thread Qiang Huang
On 2014/6/27 11:38, Fajar A. Nugraha wrote: > On Fri, Jun 27, 2014 at 9:28 AM, Qiang Huang > wrote: > > On 2014/3/16 17:07, Guido Jäkel wrote: > > ... or use an image file on an abitrary file system on the host. Just > create > > a file containing a fi

Re: [lxc-users] Setting a limit on the disk size that a container can use

2014-06-26 Thread Fajar A. Nugraha
On Fri, Jun 27, 2014 at 9:28 AM, Qiang Huang wrote: > On 2014/3/16 17:07, Guido Jäkel wrote: > > ... or use an image file on an abitrary file system on the host. Just > create > > a file containing a filesystem and use it direct (no loop device > required) as > > rootfs for the container. > > > >

Re: [lxc-users] Setting a limit on the disk size that a container can use

2014-06-26 Thread Qiang Huang
On 2014/3/16 17:07, Guido Jäkel wrote: > ... or use an image file on an abitrary file system on the host. Just create > a file containing a filesystem and use it direct (no loop device required) as > rootfs for the container. > > Guido Hi Guido, Can you be more specific about how to use a image

Re: [lxc-users] Setting a limit on the disk size that a container can use

2014-03-17 Thread Bill Anderson
boun...@lists.linuxcontainers.org [lxc-users-boun...@lists.linuxcontainers.org] on behalf of David Shwatrz [dshwa...@gmail.com] Sent: Sunday, March 16, 2014 12:01 AM To: LXC users mailing-list Subject: [lxc-users] Setting a limit on the disk size that a container can use Hello, What is the best way to

Re: [lxc-users] Setting a limit on the disk size that a container can use

2014-03-16 Thread Guido Jäkel
... or use an image file on an abitrary file system on the host. Just create a file containing a filesystem and use it direct (no loop device required) as rootfs for the container. Guido On 2014-03-16 07:26, Tamas Papp wrote: > > On 03/16/2014 06:01 AM, David Shwatrz wrote: >> Hello, >> What i

Re: [lxc-users] Setting a limit on the disk size that a container can use

2014-03-15 Thread Tamas Papp
On 03/16/2014 06:01 AM, David Shwatrz wrote: > Hello, > What is the best way to set a limit on the disk size that a container > root filesystem can use ? Either use partition (or zfs/btrfs fisystems and volumes) or run containers as unprivileged users + quota. tamas

[lxc-users] Setting a limit on the disk size that a container can use

2014-03-15 Thread David Shwatrz
Hello, What is the best way to set a limit on the disk size that a container root filesystem can use ? DavidS ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users