On 20-3-2010 0:50, Charles Sprickman wrote:
Just wondering, is this using the base nfsd/mountd, or is there some
in-kernel nfs code strictly for zfs? I haven't found much info on the
share* options in the manpage or wiki.

There's also the complete ZFS manual you should read:
        http://dlc.sun.com/pdf/819-5461/819-5461.pdf

It's for Solaris, so perhaps not everything works on FreeBSD. But most of it will.

Could you give an example of passing options that would say, limit to a
subnet and map root to root using the zfs sharenfs command?

Something like this: (Email might wrap the line)
zfs set sharenfs='-alldirs -maproot=0 -network 192.168.10.0 -mask 255.255.255.0' zfsdata/home/wjw

to export /home/wjw which is available as /zfsdata/home/wjw in ZFS.

All the zfs does is add this to the /etc/zfs/exports file.
And then the regular mountd/nfsd combo does the NDS-service.

--WjW



_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to