Re: [zones-discuss] Parallel mount question

2009-07-02 Thread Yanakiev, Vladimir
@opensolaris.org Subject: Re: [zones-discuss] Parallel mount question Hello Vladi, Yes you can use LOFS to all your zones to share the file system providing r/w access. I would even say that this is your BEST option. NFS mount in your local zones of a file system shared by the global zone is absolutely

Re: [zones-discuss] Parallel mount question

2009-07-02 Thread Nicolas Dorfsman
Le 2 juil. 09 à 15:46, Yanakiev, Vladimir a écrit : After removing NFS, we got yet another corruption - I just heard they use Samba on this file system. So, let me ask the question - Samba is supported in zone, running on LOFS - is this correct? Samba is user-land. AFAIK any userland tasks

Re: [zones-discuss] Parallel mount question

2009-07-02 Thread Yanakiev, Vladimir
9:50 AM To: Zones discuss Subject: Re: [zones-discuss] Parallel mount question Le 2 juil. 09 à 15:46, Yanakiev, Vladimir a écrit : After removing NFS, we got yet another corruption - I just heard they use Samba on this file system. So, let me ask the question - Samba is supported in zone

Re: [zones-discuss] Parallel mount question

2009-07-02 Thread Nicolas Dorfsman
Le 2 juil. 09 à 16:47, Yanakiev, Vladimir a écrit : What about /dev/smb? Will it be created in the zone during install, or we have to use mknod for it? To my memories, /dev/ is read only in the zone. Also, what will happen, if /dev/smb is simply not there? Hu ? What's that ? Did you see

Re: [zones-discuss] Parallel mount question

2009-07-02 Thread Yanakiev, Vladimir
...@opensolaris.org [mailto:zones-discuss-boun...@opensolaris.org] On Behalf Of Nicolas Dorfsman Sent: Thursday, July 02, 2009 10:58 AM To: Zones discuss Subject: Re: [zones-discuss] Parallel mount question Le 2 juil. 09 à 16:47, Yanakiev, Vladimir a écrit : What about /dev/smb? Will it be created in the zone

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.

[zones-discuss] Parallel mount question

2009-06-29 Thread Yanakiev, Vladimir
Need a help with a problem. We have VxFS file system, created in a global zone, and mounted under non-global zone as LOFS. Later, two new zones were created on the same server, that needed access to the very same file system. Someone decided to NFS-shareout this file system from the global zone,

Re: [zones-discuss] Parallel mount question

2009-06-29 Thread William Roche
Hello Vladi, Yes you can use LOFS to all your zones to share the file system providing r/w access. I would even say that this is your BEST option. NFS mount in your local zones of a file system shared by the global zone is absolutely not supported (including autofs access of course). HTH,

Re: [zones-discuss] Parallel mount question

2009-06-29 Thread Steve Lawrence
On Mon, Jun 29, 2009 at 08:00:28PM +0200, William Roche wrote: Hello Vladi, Yes you can use LOFS to all your zones to share the file system providing r/w access. I would even say that this is your BEST option. NFS mount in your local zones of a file system shared by the global zone is

Re: [zones-discuss] Parallel mount question

2009-06-29 Thread Glenn Faden
Steve Lawrence wrote: I think each zone's automounter is smart enough to use lofs instead of nfs for mounts from a non-global to a global zone. Please explain how this is possible. How can the automounter convert an nfs specification of a global zone pathname into a pathname which can be

Re: [zones-discuss] Parallel mount question

2009-06-29 Thread Nicolas Williams
On Mon, Jun 29, 2009 at 11:31:20AM -0700, Glenn Faden wrote: Steve Lawrence wrote: I think each zone's automounter is smart enough to use lofs instead of nfs for mounts from a non-global to a global zone. Please explain how this is possible. How can the automounter convert an nfs

Re: [zones-discuss] Parallel mount question

2009-06-29 Thread William Roche
29, 2009 2:00 PM To: Yanakiev, Vladimir Cc: zones-discuss@opensolaris.org Subject: Re: [zones-discuss] Parallel mount question Hello Vladi, Yes you can use LOFS to all your zones to share the file system providing r/w access. I would even say that this is your BEST option. NFS mount in your

Re: [zones-discuss] Parallel mount question

2009-06-29 Thread James Carlson
On Jun 29, 2009, at 2:31 PM, Glenn Faden glenn.fa...@sun.com wrote: Steve Lawrence wrote: I think each zone's automounter is smart enough to use lofs instead of nfs for mounts from a non-global to a global zone. Please explain how this is possible. How can the automounter convert an

Re: [zones-discuss] Parallel mount question

2009-06-29 Thread Glenn Faden
Nicolas Williams wrote: On Mon, Jun 29, 2009 at 11:31:20AM -0700, Glenn Faden wrote: Steve Lawrence wrote: I think each zone's automounter is smart enough to use lofs instead of nfs for mounts from a non-global to a global zone. Please explain how this is possible. How can

Re: [zones-discuss] Parallel mount question

2009-06-29 Thread Glenn Faden
James Carlson wrote: On Jun 29, 2009, at 2:31 PM, Glenn Faden glenn.fa...@sun.com wrote: Steve Lawrence wrote: I think each zone's automounter is smart enough to use lofs instead of nfs for mounts from a non-global to a global zone. Please explain how this is possible. How can the