Re: NFS exports of ZFS snapshots broken

From: Mike Karels <mike_at_karels.net>
Date: Fri, 17 Nov 2023 21:57:42 UTC
On 17 Nov 2023, at 15:04, Garrett Wollman wrote:

> Hi, all,
>
> One other regression that we found after upgrading from 12.4 to 13.2
> on our NFS servers is that ZFS snapshots of exported filesystems are
> no longer accessible to NFS clients.  The .zfs/snapshot directory is
> readable, and can stat(2) the individual snapshot directories, but
> attempting to access the contents of the snapshots over NFS fails --
> clients see either [ESTALE] or [EIO] depending on whether it's an
> NFSv3 or v4 mount.  Has anyone else run into this?  Did you find a
> solution?

I have not run into this, so I tried it just now.  I had no problem.
The server is 13.2, fully patched, the client is up-to-date -current,
and the mount is v4.

		Mike

> (I asked rmacklem@ and he said he doen't use ZFS and doesn't know the
> answer.)
>
> -GAWollman