Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2009 15:24:30 +0000
From:      Pete French <petefrench@ticketswitch.com>
To:        avg@icyb.net.ua, freebsd-stable@freebsd.org
Subject:   Re: rc.d/mountd: confusing message (and behavior?)
Message-ID:  <E1LLfhO-000LfO-UH@dilbert.ticketswitch.com>
In-Reply-To: <4968AE90.5010004@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
> Alsp, should it actually fail like this?  I have ZFS and I plan to do
> all NFS exports from ZFS, so /etc/exports would never be used.

ZFS writes its own exports file to '/etc/zfs/exports' - as far as I can
tell this is pretty much all that happens when you mark a filesystem
as NFS shared under ZFS. Then mountd is started from rc like this:

	/usr/sbin/mountd -r -n /etc/exports /etc/zfs/exports

(thats taken from 'ps' on one of my running systems)

So you still need an empty /etc/exports to be there. ZFS will take
care of managing it's own exports file, but thats all it seems to
do - there is no magic ZFS seperate implementation of NFS as far as
I know.

-pete.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1LLfhO-000LfO-UH>