Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Moore, Joe
William Roche wrote: Now about the automounter, I share Nico's point of view, but as far as I know nothing like that already exist, and No, the automounter or a mount request isn't 'clever' enough (or customized enough) yet to handle NFS data shared by the global zone and translate the mount

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Robert Thurlow
Glenn Faden wrote: Well, it doesn't have to be possible. Instead it should be possible to have the mount(2) syscall detect the loopback NFS and convert it into a lofs mount if, say, a flag is set in the arguments, or even by default. I've thought about doing this in the past, but wasn't

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Glenn Faden
Moore, Joe wrote: William Roche wrote: Now about the automounter, I share Nico's point of view, but as far as I know nothing like that already exist, and No, the automounter or a mount request isn't 'clever' enough (or customized enough) yet to handle NFS data shared by the global zone and

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Nicolas Williams
On Tue, Jun 30, 2009 at 10:13:34AM -0400, Moore, Joe wrote: The global zone could be the one running automount. Since it knows what host is local, it'll convert the nfs mounts to lofs automagically. For each zone, add the zone's automount entries to global:/etc/auto_master as

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Roman V Shaposhnik
On Tue, 2009-06-30 at 10:13 -0400, Moore, Joe wrote: William Roche wrote: Now about the automounter, I share Nico's point of view, but as far as I know nothing like that already exist, and No, the automounter or a mount request isn't 'clever' enough (or customized enough) yet to handle

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Roman V Shaposhnik
On Tue, 2009-06-30 at 10:55 -0500, Nicolas Williams wrote: On Tue, Jun 30, 2009 at 10:13:34AM -0400, Moore, Joe wrote: The global zone could be the one running automount. Since it knows what host is local, it'll convert the nfs mounts to lofs automagically. For each zone, add the

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Nicolas Dorfsman
Le 30 juin 09 à 16:13, Moore, Joe a écrit : William Roche wrote: Now about the automounter, I share Nico's point of view, but as far as I know nothing like that already exist, and No, the automounter or a mount request isn't 'clever' enough (or customized enough) yet to handle NFS data

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Glenn Faden
Nicolas Dorfsman wrote: Le 30 juin 09 à 16:13, Moore, Joe a écrit : William Roche wrote: Now about the automounter, I share Nico's point of view, but as far as I know nothing like that already exist, and No, the automounter or a mount request isn't 'clever' enough (or customized enough) yet

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Roman V Shaposhnik
On Tue, 2009-06-30 at 12:58 -0700, Glenn Faden wrote: This should be added to the FAQ ! As already said by others, it's not perfect, as it should be set up in the global zone, but it's really better, better, better, better than the current answer. Doesn't work. That's what I thought

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Nicolas Dorfsman
Le 30 juin 09 à 21:58, Glenn Faden a écrit : Excellent ! Sorry... Makes me angry. This should be added to the FAQ ! As already said by others, it's not perfect, as it should be set up in the global zone, but it's really better, better, better, better than the current answer.

Re: [zones-discuss] Forcing all FS traffic into a global zone

2009-06-30 Thread Roman V Shaposhnik
On Tue, 2009-06-30 at 13:46 -0700, Glenn Faden wrote: My personal question now is : why didn't I find it by myself ! :-) Because it doesn't work. See: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/autofs/auto_vnops.c#auto_trigger_mount

Re: [zones-discuss] Forcing all FS traffic into a global zone

2009-06-30 Thread Nicolas Williams
On Tue, Jun 30, 2009 at 02:12:57PM -0700, Roman V Shaposhnik wrote: On Tue, 2009-06-30 at 13:46 -0700, Glenn Faden wrote: My personal question now is : why didn't I find it by myself ! :-) Because it doesn't work. See:

Re: [zones-discuss] Forcing all FS traffic into a global zone

2009-06-30 Thread Roman V Shaposhnik
On Tue, 2009-06-30 at 16:31 -0500, Nicolas Williams wrote: On Tue, Jun 30, 2009 at 02:12:57PM -0700, Roman V Shaposhnik wrote: On Tue, 2009-06-30 at 13:46 -0700, Glenn Faden wrote: My personal question now is : why didn't I find it by myself ! :-) Because it doesn't work.

Re: [zones-discuss] Forcing all FS traffic into a global zone

2009-06-30 Thread Nicolas Williams
On Tue, Jun 30, 2009 at 02:53:30PM -0700, Roman V Shaposhnik wrote: On Tue, 2009-06-30 at 16:31 -0500, Nicolas Williams wrote: also prevents one from sharing an autofs mount to more than one zone, which cannot work out well since it would allow a filesystem mounted by one zone to be visible

Re: [zones-discuss] Forcing all FS traffic into a global zone

2009-06-30 Thread Roman V Shaposhnik
On Tue, 2009-06-30 at 17:00 -0500, Nicolas Williams wrote: The problem at hand is a reentrance issue in the VM. Could you, please, point me to the most authoritative CR that captures this issue? Hasn't it been mentioned in this thread already? I could search for it, but so could you

Re: [zones-discuss] Forcing all FS traffic into a global zone

2009-06-30 Thread Glenn Faden
Roman V Shaposhnik wrote: On Tue, 2009-06-30 at 17:00 -0500, Nicolas Williams wrote: The problem at hand is a reentrance issue in the VM. Could you, please, point me to the most authoritative CR that captures this issue? Hasn't it been mentioned in this thread already? I

Re: [zones-discuss] Forcing all FS traffic into a global zone

2009-06-30 Thread Nicolas Dorfsman
Le 1 juil. 09 à 01:48, Glenn Faden a écrit : Roman V Shaposhnik wrote: On Tue, 2009-06-30 at 17:00 -0500, Nicolas Williams wrote: The problem at hand is a reentrance issue in the VM. Could you, please, point me to the most authoritative CR that captures this issue? Hasn't it been