[Bug 266236] ZFS NFS : .zfs/snapshot : Stale file handle

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 07 Oct 2022 08:34:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266236

Bane Ivosev <bane.ivosev@pmf.uns.ac.rs> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bane.ivosev@pmf.uns.ac.rs

--- Comment #16 from Bane Ivosev <bane.ivosev@pmf.uns.ac.rs> ---
Hi, we have the same problem after upgrade to 13.1, easily reproducible every
time. First, we experienced freezing of our production nfs/zfs Supermicro
storage after we tried to access snapshot on the nfs client (at one moment
server freeze at regular snapshot management procedure, not immediately), then
tested this bug on our backup storage. Same result.

Now we try the same with 12.3 in KVM VM. 

server:
zfs create tank0/test
zfs snap tank0/test@1

client:
mount -o vers=3,tcp server:/tank0/test /mnt
ls -al /mnt/.zfs/snapshot/1

Results:

12.3 server zfs -> 12/13 nfs client, everything is ok, as expected
12.3 server openzfs 2022Q1 -> 12/13 nfs client, everything is ok

12.3 server openzfs 2022Q2 -> 12/13 nfs client stale file handle, server hang
on any zfs command or can't finish reboot/halt, need power cycle

Same results with openzfs 2022Q3 and 2022Q4.

-- 
You are receiving this mail because:
You are the assignee for the bug.