# zfs create store/snaps # zfs set sharenfs=''rw=arwen,root=arwen'' store/snaps # share - at store/snaps /store/snaps sec=sys,rw=arwen,root=arwen "" arwen# zfs send -Rv rpool at 0906 > /net/westmark/store/snaps/rpool.0906 zsh: permission denied: /net/westmark/store/snaps/rpool.0906 *** BOTH systems have NFSMAPID DOMAIN=nagual.nl set in the *** file /etc/default/nfs The NFS docs mention that the rw option can be a node (like arwen). But as you can see I get no access when I set rw=arwen. And yet arwen is known! This rule works: #zfs set sharenfs=''root=arwen'' store/snaps The snapshots are send from arwen to the remote machine and get the root:root privileges. So that,s OK. This rule does NOT work: # zfs set sharenfs=''rw=arwen,root=arwen'' store/snaps I get a permission denied. Apparently rw=arwen is nog reckognized. Is something wrong in the syntax the way ZFS uses sharenfs? Or have I misread the manual of share_nfs? What can be wrong is the line "zfs set sharenfs=''rw=arwen,root=arwen'' store/snaps" -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | nevada / OpenSolaris 2010.02 B118 + All that''s really worth doing is what we do for others (Lewis Carrol)
dick hoogendijk wrote:> # zfs create store/snaps > # zfs set sharenfs=''rw=arwen,root=arwen'' store/snaps > # share > - at store/snaps /store/snaps sec=sys,rw=arwen,root=arwen "" > > arwen# zfs send -Rv rpool at 0906 > /net/westmark/store/snaps/rpool.0906 > zsh: permission denied: /net/westmark/store/snaps/rpool.0906 > > *** BOTH systems have NFSMAPID DOMAIN=nagual.nl set in the > *** file /etc/default/nfs > > The NFS docs mention that the rw option can be a node (like arwen). > But as you can see I get no access when I set rw=arwen. > And yet arwen is known! > This rule works: > #zfs set sharenfs=''root=arwen'' store/snaps > The snapshots are send from arwen to the remote machine and get the > root:root privileges. So that,s OK. > This rule does NOT work: > # zfs set sharenfs=''rw=arwen,root=arwen'' store/snaps > I get a permission denied. Apparently rw=arwen is nog reckognized. > > Is something wrong in the syntax the way ZFS uses sharenfs? > Or have I misread the manual of share_nfs? > What can be wrong is the line "zfs set sharenfs=''rw=arwen,root=arwen'' > store/snaps" >I would suggest you open a bug on this. You can use either bugzilla or bugster: http://defect.opensolaris.org/bz/ http://bugs.opensolaris.org/ This issue does have some similarities with the following bug, but its different enough to warrant its own bug http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6856710 -Mark
On Mon, 27 Jul 2009 08:26:06 -0600 Mark Shellenbaum <Mark.Shellenbaum at Sun.COM> wrote:> I would suggest you open a bug on this. > http://defect.opensolaris.org/bz/Done. Bugzilla ? Bug 10294 Submitted -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | SunOS 10u7 05/09 | OpenSolaris 2010.02 B118 + All that''s really worth doing is what we do for others (Lewis Carrol)