NFS & ZFS: how to export whole FS hierarhy to mount it with one command on client?
Rick Macklem
rmacklem at uoguelph.ca
Sat Aug 1 20:49:58 UTC 2015
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 at FreeBSD.org
>
>
More information about the freebsd-fs
mailing list