Re: [Lxc-users] [PATCH 2/2] cgroups: support cgroups mounted in multiple places

2011-06-27 Thread Michael H. Warfield
On Sun, 2011-06-26 at 18:49 -0500, Serge E. Hallyn wrote: Quoting Michael H. Warfield (m...@wittsend.com): On Sun, 2011-06-26 at 14:00 -0500, Serge E. Hallyn wrote: Quoting Michael H. Warfield (m...@wittsend.com): Thanks, Michael, good catch. Now wait a minute. Is that a

Re: [Lxc-users] Use XID tagging with LXC

2011-06-27 Thread Serge Hallyn
Quoting Julien VAUBOURG (jul...@vaubourg.com): Hi all, I would like to handle disk quotas of my containers, but in avoiding to use partitions. With linux-vserver, this is possible with the xid tagging and the vdlimit command[0]. Would you know if LXC can use xid in the same way

[Lxc-users] Host resource visibility inside container; network interfaces inside containers

2011-06-27 Thread Jan-Aage Frydenbø-Bruvoll
Dear List, I am in the middle of looks to be a very successful migration from a Xen based platform to LXC. I am still getting used to the LXC approach, though, and I was wondering if anybody could help me with two questions that have cropped up: - I don't quite seem to understand how cgroup

Re: [Lxc-users] read only rootfs

2011-06-27 Thread Justin Cormack
On Mon, 2011-06-27 at 18:05 +0200, Samuel Maftoul wrote: I tried several ways to have the rootfs mounted RO. First I removed the lxc.rootfs from my config file and the tried: - lxc-start -n vm0 -o /tmp/lxc-vm0.log -l DEBUG -s lxc.mount.entry=/ /var/lib/lxc/vm0/rootfs none ro,bind 0 0

Re: [Lxc-users] read only rootfs

2011-06-27 Thread Michael H. Warfield
On Mon, 2011-06-27 at 17:20 +0100, Justin Cormack wrote: On Mon, 2011-06-27 at 18:05 +0200, Samuel Maftoul wrote: I tried several ways to have the rootfs mounted RO. First I removed the lxc.rootfs from my config file and the tried: - lxc-start -n vm0 -o /tmp/lxc-vm0.log -l DEBUG

Re: [Lxc-users] read only rootfs

2011-06-27 Thread Michael H. Warfield
On Mon, 2011-06-27 at 12:33 -0500, C Anthony Risinger wrote: On Mon, Jun 27, 2011 at 12:06 PM, Michael H. Warfield m...@wittsend.com wrote: On Mon, 2011-06-27 at 17:20 +0100, Justin Cormack wrote: On Mon, 2011-06-27 at 18:05 +0200, Samuel Maftoul wrote: I tried several ways to have