Re: [Lxc-users] Mounting filesystem for container

2010-09-20 Thread Daniel Lezcano
On 09/20/2010 11:13 AM, l...@jelmail.com wrote: > >> As mentioned Serge, that maybe the cgroup device white list which >> prevent you to do that. >> You can check by temporarly comment out in /var/lib/lxc/mycontainer all >> the lxc.cgroup.devices lines and then launch the container again. I

Re: [Lxc-users] Mounting filesystem for container

2010-09-20 Thread l...@jelmail.com
> As mentioned Serge, that maybe the cgroup device white list which > prevent you to do that. > You can check by temporarly comment out in /var/lib/lxc/mycontainer all > the lxc.cgroup.devices lines and then launch the container again. If > you are able to mount it, then you should add in t

Re: [Lxc-users] Mounting filesystem for container

2010-09-18 Thread Daniel Lezcano
On 09/17/2010 11:41 PM, l...@jelmail.com wrote: > Hi, I just tried to mount a filesystem in a container and I got this: > > [root ~]# lxc-start -n mycontainer > lxc-start: Operation not permitted - failed to mount '/dev/sdd1' on > '/srv/lxc/mycontainer/mnt' > lxc-start: failed to setup the mounts f

Re: [Lxc-users] Mounting filesystem for container

2010-09-17 Thread Serge E. Hallyn
Quoting l...@jelmail.com (l...@jelmail.com): > Hi, I just tried to mount a filesystem in a container and I got this: > > [root ~]# lxc-start -n mycontainer > lxc-start: Operation not permitted - failed to mount '/dev/sdd1' on > '/srv/lxc/mycontainer/mnt' > lxc-start: failed to setup the mounts for

[Lxc-users] Mounting filesystem for container

2010-09-17 Thread l...@jelmail.com
Hi, I just tried to mount a filesystem in a container and I got this: [root ~]# lxc-start -n mycontainer lxc-start: Operation not permitted - failed to mount '/dev/sdd1' on '/srv/lxc/mycontainer/mnt' lxc-start: failed to setup the mounts for 'mycontainer' lxc-start: failed to setup the container l