Re: ZFS - quick start.

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Tue, 10 Apr 2007 22:31:06 +0200
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!

Received on Tue Apr 10 2007 - 18:31:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:08 UTC