The magic of ZFS and NFS (2nd try)

Martin Simmons martin at lispworks.com
Mon Feb 23 14:13:29 UTC 2015


>>>>> On Sat, 21 Feb 2015 18:34:12 +0100, Christian Baer said:
> 
> Russell L. Carter wrote:
> 
> > Post your /etc/exports, and the nfs*_enable bits of /etc/rc.conf.  And
> > as Rainer noted you definitely need to check that uid/gid match on
> > both server and client.
> 
> Pretty boring stuff...
> 
> root at obelix:~ # cat /etc/exports 
> V4: /usr/archive/Shared         -alldirs -network 192.168.100/24
> 
> I reduced the shares to one for the time being.

According to exports(5), that reduces it to zero:

The third form has the string ``V4:'' followed by a single absolute path name,
to specify the NFSv4 tree root.  This line does not export any file system,
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
but simply marks where the root of the server's directory tree is for NFSv4
clients.  The exported file systems for NFSv4 are specified via the other
lines in the exports file in the same way as for NFSv2 and NFSv3.

__Martin


More information about the freebsd-fs mailing list