Re: [lxc-users] loading a file system

2015-01-13 Thread Fajar A. Nugraha
You need to be more clear. More response inline On Wed, Jan 14, 2015 at 11:26 AM, Mohan G mohan...@yahoo.com wrote: Thanks for the reply, now i guess my specific question is. 1) I have my own file system which i can load to the kernel. But i want to restrict the file systems usage as a

Re: [lxc-users] loading a file system

2015-01-13 Thread Serge Hallyn
Your filesystem / kernel module will need to provide a way to enforce the limits you want. For instance, when you mount a new tmpfs, you can specify a maximum size for the fs. Quoting Mohan G (mohan...@yahoo.com): Thanks. When i say my own file system, yes my own kernel file system written

Re: [lxc-users] loading a file system

2015-01-13 Thread Fajar A. Nugraha
As Serge said, some limits needs to be enforced by your filesystem. Like tmpfs case for example, the size limit are set during mount, which should be done by the host (e.g. as an option on lxc.mount.entry in container config file). cgroup limits is AFAIK only apply to userland, and does not apply