Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Aug 2015 16:49:56 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        lev@FreeBSD.org
Cc:        FreeBSD FS <freebsd-fs@freebsd.org>
Subject:   Re: NFS & ZFS: how to export whole FS hierarhy to mount it with one command on client?
Message-ID:  <2088541681.7479791.1438462196036.JavaMail.zimbra@uoguelph.ca>
In-Reply-To: <704572885.20150801210620@serebryakov.spb.ru>
References:  <795246861.20150801140429@serebryakov.spb.ru> <1363497421.7238055.1438428070047.JavaMail.zimbra@uoguelph.ca> <1593307781.20150801143052@serebryakov.spb.ru> <2119966434.7262831.1438431792809.JavaMail.zimbra@uoguelph.ca> <704572885.20150801210620@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Lev wrote:
> Hello Rick,
> 
> Saturday, August 1, 2015, 3:23:12 PM, you wrote:
> 
> > Yes, if you are doing it in /etc/exports. (The V4: line does not export any
> > file systems.)
> > I know nothing about ZFS or the sharenfs property it has, so others will
> > have to clime in
> > on that.
>  And how to disable NFSv3 on server in such case?
> 
sysctl vfs.nfsd.server_min_nfsvers=4
set before the nfsd daemon is started.

The FreeBSD client will require an explicit "vers=4" option (or "nfsv4" option)
on the mount. I don't know what Linux does by default. "nfsstat -m" on the client
tells you what it is actually using.

rick

> --
> Best regards,
>  Lev                            mailto:lev@FreeBSD.org
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2088541681.7479791.1438462196036.JavaMail.zimbra>