Bug 9553 - Sharing ZFS over NFS problematic
: Sharing ZFS over NFS problematic
Status: CLOSED TRACKEDINBUGSTER
Product: opensolaris
kernel
: 200906
: ANY/Generic OpenSolaris
: P3 major (vote)
: in-200906
Assigned To: Watcher account for OpenSolaris kernel bugs
:
:
: BugsterCR=6856710
:
:
:
  Show dependency treegraph
 
Reported: 2009-06-19 06:45 UTC by Lubomir Petrik
Modified: 2009-10-21 01:27 UTC (History)
2 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Lubomir Petrik 2009-06-19 06:45:45 UTC
I was trying to share a folder in OpenSolaris 2009.06 using the
"System->Administration->Shared Folders" with Visual Panels installed and also
using the share command. Both worked until I wanted to restrict the rw access
to a certain hosts.
# share
-               /test   rw   "Test"

I could mount the /test on a Linux hosts, but once I changed the access to a
subnet with my linux hosts, the share output was:
# share
-               /test   sec=sys,rw=@172.20.15.0/24  "Test"

The linux hosts could no longer mount the FS with a message access denied by
server. I fixed this by removing the share and doing the same thing using the
zfs command.
# zfs set sharenfs=rw=@172.20.15.0/24 pool/test
# share
-@pool/test      /test   sec=sys,rw=@172.20.15.0/24   ""

Once I did that, the linux hosts could again mount the /test. 

It's apparent that the output are not the same and that the "Share Folders" and
share command do not work as expected in this case.