ZFS - quick start.

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Apr 10 20:31:32 UTC 2007


On Tue, Apr 10, 2007 at 03:22:05PM -0500, Craig Boston wrote:
> On Fri, Apr 06, 2007 at 11:43:25PM +0200, Pawel Jakub Dawidek wrote:
> > 	# zfs set sharenfs=on tank/music
> 
> Ok, sorry to bug again, but does this actually work or is it still an
> upcoming feature?
> 
> I tried setting sharenfs=on just to see and it didn't seem to have any
> effect that I could tell.

You need to run mountd(8) with two exports(5) files, like:

	# mountd /etc/exports /etc/zfs/exports

If you have zfs_enable="YES" in your /etc/rc.conf, mountd will
automatically pick /etc/zfs/exports up.

> Is this NFSv4 or v3?  Does ZFS have its own nfs server or does it
> depend on having all the rpc stuff running?

There is no magic, 'zfs sharenfs=on' will just add an entry to
/etc/zfs/exports and send SIGHUP to mountd.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070410/f65fa7fd/attachment.pgp


More information about the freebsd-current mailing list