NFSv4 - how to set up at FreeBSD 8.1 ?
jyavenard at gmail.com
Wed Jan 5 03:22:43 UTC 2011
On 5 January 2011 12:09, Rick Macklem <rmacklem at uoguelph.ca> wrote:
> You can also do the following:
> For /etc/exports
> V4: /
> /usr/home -maproot=root -network 192.168.183.0 -mask 255.255.255.0
> Then mount:
> # mount_nfs -o nfsv4 192.168.183.131:/usr/home /marek_nfs4/
> (But only if the file system for "/" is ufs and not zfs and, admittedly
> there was a debate that has to be continued someday that might make it
> necessary to export "/" as well for ufs like zfs requires.)
> ps: And some NFSv4 clients can cross server mount points, unlike NFSv2, 3.
I've done that (exporting V4: /)
but then when I mount a sub zfs filesystem (e.g. /pool/backup/sites/m)
then it appears empty on the client.
If I export /pool/backup/sites/m , then I see the content of the directory.
Most of the sub-directory in /pool are actually zfs file system mounted.
It is something I expected with NFSv3 .. but not with nfs v4.
More information about the freebsd-stable