Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Feb 2010 17:27:23 +0000
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        freebsd-stable@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: NFSv4: mount -t nsf4 not the same as mount_newnfs?
Message-ID:  <4B70497B.1000908@zedat.fu-berlin.de>
In-Reply-To: <Pine.GSO.4.63.1002080959030.25952@muncher.cs.uoguelph.ca>
References:  <4B6FE550.9020506@zedat.fu-berlin.de> <Pine.GSO.4.63.1002080959030.25952@muncher.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/08/10 15:01, Rick Macklem wrote:
>
>
> On Mon, 8 Feb 2010, O. Hartmann wrote:
>
>>
>> Mounting the filessystem via
>>
>> mount_newnfs host:/path /path
>>
>> works fine, but not
>>
>> mount -t nfs4 host:/path /path.
>>
>
> The mount command can be either:
> mount -t nfs -o nfsv4 host:/path /path
> or
> mount -t newnfs -o nfsv4 host:/path /path
> (The above was what the old now removed nfs4 used.)
>
> Have fun with it, rick

So I guess the above one is the more 'transparent' one with respect to 
the future, when NFSv4 gets mature and its way as matured into the kernel?

I tried the above and it works. But it seems, that only UFS2 filesystems 
can be mounted by the client. When trying mounting a filesystem residing 
on ZFS, it fails. Mounting works, but when try to access or doing a 
simple 'ls', I get

ls: /backup: Permission denied


On server side, /etc/exports looks like

--
V4:     /       -sec=sys:krb5   #IPv4#

/backup      #IPv4#
--

Is there still an issue with ZFS?


Regards,
Oliver





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B70497B.1000908>