Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2011 14:22:42 +1100
From:      Jean-Yves Avenard <jyavenard@gmail.com>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        Marek Salwerowicz <marek_sal@wp.pl>, freebsd-stable@freebsd.org, Maciej Milewski <milu@dat.pl>
Subject:   Re: NFSv4 - how to set up at FreeBSD 8.1 ?
Message-ID:  <AANLkTinX4x_0vtZ=OjioTUyO1TvXSbTXQybyNz12h9dP@mail.gmail.com>
In-Reply-To: <241056373.111669.1294189775780.JavaMail.root@erie.cs.uoguelph.ca>
References:  <DDB42FB5761D4C91B046976C8A4A371E@marekdesktop> <241056373.111669.1294189775780.JavaMail.root@erie.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

On 5 January 2011 12:09, Rick Macklem <rmacklem@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.)
>
> rick
> 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.

JY



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinX4x_0vtZ=OjioTUyO1TvXSbTXQybyNz12h9dP>