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

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

2011-09-21 Thread Serge E. Hallyn
Quoting Arie Skliarouk (sklia...@gmail.com): I want to bind-mount an directory inside of a running container. If I mount the directory using bind mount, the container does not see files in it. It is important to me to be able to do the mounts and umounts from the host machine, as we are