Re: [zones-discuss] Can a non-global zone mount an NFS file system from its own global zone?

2009-06-30 Thread Nicolas Dorfsman
Le 30 juin 09 à 01:21, James Carlson a écrit : On Jun 29, 2009, at 2:58 PM, Nicolas Dorfsman wrote: Le 29 juin 09 à 18:37, John Lorenzon a écrit : The answer is no. 5065254 NFS/UFS deadlock when system is both NFS server and client We don't use UFS. ;-) That might not be enough to

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 mentio

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 co

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 s

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 v

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

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: > > >> > > >> http://src.opensolaris.org/source

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_trigg

Re: [zones-discuss] Parallel mount question

2009-06-30 Thread Glenn Faden
Roman V Shaposhnik wrote: 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 w

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. Doesn't

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 th

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 to

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 shar

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,

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

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 /zonep

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 tr

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 su

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