Re: ZFS sharenfs and NFS options



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@xxxxxxxxxxx ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@xxxxxxxx ***
------------------------------------------------------------------------
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • ZFS sharenfs and NFS options
    ... what is a way to specify NFS options, such as -maproot and -network, on an ZFS ... Man page is almost quiet about it, and my quick experiments did not ...
    (freebsd-current)
  • Re: ZFS sharenfs and NFS options
    ... SH>> an ZFS ... SH>> filesystem? ... Man page is almost quiet about it, ... you can set sharenfs to one of 3 values: ...
    (freebsd-current)
  • Re: ZFS: filesystem approach
    ... >>with their own ZFS filesystem, to see how usable it would actually be? ... so that if you wanted to use a traditional backup ... and the snapshots appear in a special ...
    (comp.unix.solaris)
  • Re: ZFS vs OSX Time Machine
    ... If it's a separate filesystem, ... GET'ing are using the ZFS filesystem. ... I'll try but I would expect backup over wireless to cause less of a performance degradation of other ZFS consumers because the backup is being throttled by it. ... This could be a memory performance or fragmentation problem then. ...
    (freebsd-stable)
  • Re: Filesystem snapshots dog slow
    ... filesystems for the result to be consistent!". ... I thought that the only way you could get an inconsistent filesystem ... Or go to ZFS -- more on that below. ... In the case of my home machine, I spent a little time this morning ...
    (freebsd-hackers)