ZFS sharenfs and NFS options
Dmitry Morozovsky
marck at rinet.ru
Tue Mar 4 22:43:47 PST 2008
On Tue, 4 Mar 2008, Scot Hetzel wrote:
SH> > what is a way to specify NFS options, such as -maproot and -network, on
SH> > an ZFS
SH> > filesystem? Man page is almost quiet about it, and my quick experiments
SH> > did not
SH> > show any success...
SH> >
SH> > I suppose, it should be documented a bit more...
SH> >
SH> It is documented in the zfs(1M) man page.
SH>
SH> zfs set sharenfs="-maproot=root -alldir -network 10.0.0.3 -mask
SH> 255.255.255.255" myzpool/test
SH>
SH> cat /etc/zfs/exports
SH> # !!! DO NOT EDIT THIS FILE MANUALLY !!!
SH>
SH> /myzpool/test -maproot=root -alldir -network 10.0.0.3 -mask 255.255.255.255
Hmm... where did you find it in the manpage? Or did you mean Solaris
man page version?
Anyway, thanks, it is working now.
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer: marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------
More information about the freebsd-current
mailing list