Re: [lxc-users] cannot enable dev loop access from LXC

2014-09-11 Thread Bin Zhou
On Wednesday, September 10, 2014 2:30 PM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Bin Zhou (lakerz...@yahoo.com): Hi, I am trying to enable dev loop access in LXC and set up glusterFS server volume on the loop dev. I add the following line to

Re: [lxc-users] cannot enable dev loop access from LXC

2014-09-11 Thread Serge Hallyn
Quoting Bin Zhou (lakerz...@yahoo.com): On Wednesday, September 10, 2014 2:30 PM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Bin Zhou (lakerz...@yahoo.com): Hi, I am trying to enable dev loop access in LXC and set up glusterFS server volume on the loop dev. I

Re: [lxc-users] cannot enable dev loop access from LXC

2014-09-11 Thread Bin Zhou
@Serge Thanks for the response. Host:~$ sudo cat /sys/fs/cgroup/devices/lxc/local-server-7/devices.list c *:* m b *:* m c 1:3 rwm c 1:5 rwm c 5:1 rwm c 5:0 rwm c 1:9 rwm c 1:8 rwm c 136:* rwm c 5:2 rwm c 254:0 rwm c 10:229 rwm c 10:200 rwm c 1:7 rwm c 10:228 rwm c 10:232 rwm On Thursday,

Re: [lxc-users] cannot enable dev loop access from LXC

2014-09-11 Thread Serge Hallyn
If you're on ubuntu, could you go to pad.lv/u/lxc and file a bug so we can better track the configuration info? Otherwise, can you show: uname -r cat /etc/*-release cat /var/lib/lxc/local-server-7/config (*with* the line added) After trying to start the container again the last 200 lines of

Re: [lxc-users] cannot enable dev loop access from LXC

2014-09-10 Thread Serge Hallyn
Quoting Bin Zhou (lakerz...@yahoo.com): Hi, I am trying to enable dev loop access in LXC and set up glusterFS server volume on the loop dev. I add the following line to /var/lib/lxc/local-server-7/config lxc.cgroup.devices.allow = b 7:* rwm Certainly looks fine. The container failed to

[lxc-users] cannot enable dev loop access from LXC

2014-09-05 Thread Bin Zhou
Hi, I am trying to enable dev loop access in LXC and set up glusterFS server volume on the loop dev. I add the following line to /var/lib/lxc/local-server-7/config lxc.cgroup.devices.allow = b 7:* rwm The container failed to start with the new config. ubuntu@bpcluster1:~$ sudo lxc-start -n