Re: [zones-discuss] Shareing files between zones

2009-09-14 Thread Nicolas Dorfsman
Le 14 sept. 09 à 02:31, Glenn Faden a écrit : Mike Gerdts wrote: A non-global zone cannot be an NFS server (without a third-party userland NFS server implementation). Also, NFS mounting a file system in a non-global zone that is exported from that zone's global zone is not supported. It m

Re: [zones-discuss] Shareing files between zones

2009-09-13 Thread Glenn Faden
Mike Gerdts wrote: A non-global zone cannot be an NFS server (without a third-party userland NFS server implementation). Also, NFS mounting a file system in a non-global zone that is exported from that zone's global zone is not supported. It may seem to work, but there is a known deadlock tha

Re: [zones-discuss] Shareing files between zones

2009-09-13 Thread Mike Gerdts
On Sun, Sep 13, 2009 at 11:50 AM, Sam Ashcraft wrote: > Thanks, option 2 seems a bit more like what I'm looking for, I would rather > go direct zone to zone then bounce it through the global. Doh! I messed up on the configuration for z2. That should be: global# zonecfg -z z2 add fs set dir=/d

Re: [zones-discuss] Shareing files between zones

2009-09-13 Thread Sam Ashcraft
Ok I just tried using sharemgr to to do a standard nfs share, but it looks like the nfs server will not run in a zone. When it come to the idea of a directory in global that is lofs mounted to both zones, would both zones have RW access? -- This message posted from opensolaris.org _

Re: [zones-discuss] Shareing files between zones

2009-09-13 Thread Sam Ashcraft
Thanks, option 2 seems a bit more like what I'm looking for, I would rather go direct zone to zone then bounce it through the global. However in your example above it looks like your mounting /data from global and not z1/data. How would I specify to use the Data directory form z1? I was thinkin

Re: [zones-discuss] Shareing files between zones

2009-09-13 Thread Mike Gerdts
On Sun, Sep 13, 2009 at 12:30 AM, Illya Kysil wrote: > Hi Sam, > > The easier way is to mount the storage (either NFS or CIFS or other) > in the global zone and configure the lofs filesystems in non-global > zones. A file system that is NFS mounted in the global zone is inaccessible via lofs in n

Re: [zones-discuss] Shareing files between zones

2009-09-12 Thread Illya Kysil
Hi Sam, The easier way is to mount the storage (either NFS or CIFS or other) in the global zone and configure the lofs filesystems in non-global zones. On Sun, Sep 13, 2009 at 07:22, Sam Ashcraft wrote: > I currently have an Opensolaris server running 2 non global zones, one acts > as a web ser

[zones-discuss] Shareing files between zones

2009-09-12 Thread Sam Ashcraft
I currently have an Opensolaris server running 2 non global zones, one acts as a web server, and the other a file server. I want to install rtorrent on the web server but have it dump the torrents in a directory on the file server. Can NFS or CIFS be used zone to zone like this? or is there a be