Re: [Vserver] Can't bind-mount host-guest

2005-10-30 Thread Bruno
On Sunday 30 October 2005 00:11, Herbert Poetzl wrote: On Sun, Oct 30, 2005 at 02:53:17AM +0900, Jun OKAJIMA wrote: Hello. I also have same question. How to do a mount to vserver namespace? I suppose that current vserver gets per-ctx namespace and this requires special mount command.

Re: [Vserver] Can't bind-mount host-guest

2005-10-30 Thread Herbert Poetzl
On Sun, Oct 30, 2005 at 10:27:40AM +0100, Bruno wrote: On Sunday 30 October 2005 00:11, Herbert Poetzl wrote: On Sun, Oct 30, 2005 at 02:53:17AM +0900, Jun OKAJIMA wrote: Hello. I also have same question. How to do a mount to vserver namespace? I suppose that current vserver gets

Re: [Vserver] Can't bind-mount host-guest

2005-10-30 Thread Bodo Eggert
On Sun, 30 Oct 2005, Jun OKAJIMA wrote: I also have same question. How to do a mount to vserver namespace? I don't know about the vserver mechanism (I'm currently not running one), but according to LKML, you can change namespace by chrooting to /proc/$PID/root. I asume it will be possible to

[Vserver] Can't bind-mount host-guest

2005-10-29 Thread Bruno
Hi, On my Gentoo Host+Guest I have a squashfs copy of portage which is loop-mounted at boot time on the host and then bind-mounted to the guest using the vserver's fstab in /etc/vservers/... How can I unmount+mount this snapshot with propagation to the guests when the image is updated? Best

Re: [Vserver] Can't bind-mount host-guest

2005-10-29 Thread Chuck
On Saturday 29 October 2005 10:11 am, Bruno wrote: hmm.. not sure what version you are running, but with the latest dev, there is an fstab in every guest configuration that has bind mounts for portage in it that get mounted and umounted as the guest is started/stopped. they bind to the host

Re: [Vserver] Can't bind-mount host-guest

2005-10-29 Thread Bruno
I'm running util-vserver-0.30.205-r1. On my host I have folowing line for portage in fstab: /home/snapshot.sqfs /usr/portage squashfs loop,ro 0 0 For each guest I have following line in fstab: /usr/portage /usr/portage bind bind,ro 0 0 The problem is that the host's /usr/portage has to be

Re: [Vserver] Can't bind-mount host-guest

2005-10-29 Thread Benedikt Boehm
On Saturday 29 October 2005 18:18, Bruno wrote: I'm running util-vserver-0.30.205-r1. On my host I have folowing line for portage in fstab: /home/snapshot.sqfs /usr/portage squashfs loop,ro 0 0 any reason for keeping portage on ro squashfs? ___

Re: [Vserver] Can't bind-mount host-guest

2005-10-29 Thread Jun OKAJIMA
Hello. I also have same question. How to do a mount to vserver namespace? I suppose that current vserver gets per-ctx namespace and this requires special mount command. If so, what is the command?. For example, assume the vserver I am using is 100, [Host]# mount -o bind /home/okajima

Re: [Vserver] Can't bind-mount host-guest

2005-10-29 Thread Bruno
On Saturday 29 October 2005 19:20, you wrote: On Saturday 29 October 2005 18:18, Bruno wrote: I'm running util-vserver-0.30.205-r1. On my host I have folowing line for portage in fstab: /home/snapshot.sqfs /usr/portage squashfs loop,ro 0 0 any reason for keeping portage on ro squashfs?

Re: [Vserver] Can't bind-mount host-guest

2005-10-29 Thread Bruno
On Saturday 29 October 2005 19:53, you wrote: Hello. I also have same question. How to do a mount to vserver namespace? I suppose that current vserver gets per-ctx namespace and this requires special mount command. If so, what is the command?. For example, assume the vserver I am using is

Re: [Vserver] Can't bind-mount host-guest

2005-10-29 Thread Herbert Poetzl
On Sun, Oct 30, 2005 at 02:53:17AM +0900, Jun OKAJIMA wrote: Hello. I also have same question. How to do a mount to vserver namespace? I suppose that current vserver gets per-ctx namespace and this requires special mount command. If so, what is the command?. For example, assume the