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

2009-06-29 Thread Rob Mallory
Hi Niko, this thread had 150 hits in the last three weeks, the topic is in the FAQ since 2005, and the question comes about every 9 months or so. So it seems it would be a desired feature! I expect it would be most utilized in shops who have thousands of automount map entries, and

[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] Can a non-global zone mount an NFS file system from its own global zone?

2009-06-29 Thread John Lorenzon
The answer is no. 5065254 NFS/UFS deadlock when system is both NFS server and client Use LOFS. John -Original Message- From: zones-discuss-boun...@opensolaris.org [mailto:zones-discuss-boun...@opensolaris.org] On Behalf Of Rob Mallory Sent: Monday, June 29, 2009 12:01 PM To:

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,

[zones-discuss] Networkless zones getting access to NFS data

2009-06-29 Thread Roman V Shaposhnik
Hi! I have a project where I need to run untrusted code contained in a local zone. As the code is untrusted the less resources I give to such a zone the safer I feel. Networking in general, is one such resource. I don't want zone to have access to anything but a loopback interface.

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] Can a non-global zone mount an NFS file system from its own global zone?

2009-06-29 Thread Nicolas Dorfsman
Hi Rob, Le 29 juin 09 à 18:01, Rob Mallory a écrit : Hi Niko, this thread had 150 hits in the last three weeks, the topic is in the FAQ since 2005, and the question comes about every 9 months or so. So it seems it would be a desired feature! Well, it's something that any

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

2009-06-29 Thread Nicolas Dorfsman
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. ;-) Use LOFS. Easy to tell... smime.p7s Description: S/MIME cryptographic signature

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

2009-06-29 Thread Roman V Shaposhnik
On Mon, 2009-06-29 at 20:56 +0200, Nicolas Dorfsman wrote: Hi Rob, Le 29 juin 09 à 18:01, Rob Mallory a écrit : Hi Niko, this thread had 150 hits in the last three weeks, the topic is in the FAQ since 2005, and the question comes about every 9 months or so. So it seems it

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
Vladi, You can mount the filesystem tree that you want to share anywhere in your local zone(s). You can do it in the zone configuration (using zonecfg) but you'll need to reboot the zone to take it into account; or using a mount command from the global zone to have the data appear in a

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

2009-06-29 Thread James Carlson
On Jun 29, 2009, at 2:58 PM, Nicolas Dorfsman n...@unikservice.eu 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 save you. The bug is a

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