Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2010 13:16:02 +0100
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Charles Sprickman <spork@bway.net>
Cc:        Matthias Gamsjager <mgamsjager@gmail.com>, FreeBSD Stable Users <freebsd-stable@freebsd.org>
Subject:   Re: Does zfs have it's own nfs server?
Message-ID:  <4BA4BC82.3020606@digiware.nl>
In-Reply-To: <alpine.OSX.2.00.1003191948260.3110@charles-sprickmans-imac.local>
References:  <4BA08FA8.5000902@omnilan.de> <585602e11003170127t669ebe04k752bc4383f3fde22@mail.gmail.com> <4BA3FF91.7090903@digiware.nl> <alpine.OSX.2.00.1003191948260.3110@charles-sprickmans-imac.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA4BC82.3020606>