[Lxc-users] possible to create/run lxc containers inside an lxc container?

2011-09-22 Thread Jesse Andrews
When I try to create a container inside a container I get an error: root@OUTER $ lxc-create -n INNER -f net.conf -t natty debootstrap is /usr/sbin/debootstrap Checking cache download in /var/cache/lxc/natty/rootfs-amd64 ... Downloading ubuntu natty minimal ... [...snip...] I:

Re: [Lxc-users] how to mount inside of running container

2011-09-22 Thread Arie Skliarouk
Hi, Thank you for the instructions, but looks I did something wrong. If I create files on the /shared/containerX, they appear properly in the container's /shared directory. If I create a directory in the /shared/containerX directory and mount some other partition onto that

Re: [Lxc-users] how to mount inside of running container

2011-09-22 Thread Serge Hallyn
Quoting Arie Skliarouk (sklia...@gmail.com): Hi, Thank you for the instructions, but looks I did something wrong. Sorry, no, my instructions weren't quite right. I'm going to spend a bit of time right now whipping up some tested directions, and will get back to you. -serge

Re: [Lxc-users] how to mount inside of running container

2011-09-22 Thread Serge Hallyn
Quoting Serge Hallyn (serge.hal...@canonical.com): Quoting Arie Skliarouk (sklia...@gmail.com): Hi, Thank you for the instructions, but looks I did something wrong. Sorry, no, my instructions weren't quite right. I'm going to spend a bit of time right now whipping up some tested

Re: [Lxc-users] how to mount inside of running container

2011-09-22 Thread Arie Skliarouk
It is weirder than that. The partition bind-mounted under /share/containerX/an_partition is not unmounted on guest stop, but unmounted on the guest start. If I run mount /share/containerX/an_partition on the host, only then the partition's content becomes visible on the guest. The

[Lxc-users] NFS v2

2011-09-22 Thread CLOSE Dave
I abandoned OpenVZ because I was not able to perform an NFSv2 mount inside a container. Now it appears I may have the same problem with LXC. Can anyone confirm if NFSv2 should work or not? Please don't respond that I should use v3 or v4. I don't have a choice as v2 is the only protocol