Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2021 05:20:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 256280] FreeBSD nfsd serving zfs pool, linux nfsclient, often hangs (not observed in 12-stable)
Message-ID:  <bug-256280-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256280

            Bug ID: 256280
           Summary: FreeBSD nfsd serving zfs pool, linux nfsclient, often
                    hangs (not observed in 12-stable)
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuan.mei@gmail.com

I am observing frequent nfs mount hang-ups after upgrading my NAS to 13-sta=
ble.
 FreeBSD here serves nfsd of a zfs pool.  A Gentoo Linux box is connected to
this NAS via a 10GbE fiber link.  Once a while, perhaps when the zfs load g=
ets
high (afpd is running), the Linux side access to nfs hangs, then recovers a=
fter
a few minutes.  The following messages are printed in Linux's dmesg:

May 30 22:04:34 mayhome kernel: nfs: server 192.168.3.51 not responding, st=
ill
trying

But after a while, a few minutes or so, the access recovers:

May 30 22:06:35 mayhome kernel: nfs: server 192.168.3.51 OK

This behavior is only observed after updating NAS to 13-stable via buildwor=
ld,
buildkernel procedure.  The Linux side remains the same and no hardware cha=
nged
on either side.  12-stable did not exhibit any of these.

The NAS's NIC serving nfsd is

t5nex0: <Chelsio T520-SO> mem
0xdd300000-0xdd37ffff,0xdc000000-0xdcffffff,0xdd884000-0xdd885fff irq 16 at
device 0.4 on pci1
cxl0: <port 0> on t5nex0
cxl0: Ethernet address: 00:07:43:31:9c:80
cxl0: 8 txq, 8 rxq (NIC); 8 txq (TOE), 2 rxq (TOE)
cxl1: <port 1> on t5nex0
cxl1: Ethernet address: 00:07:43:31:9c:88
cxl1: 8 txq, 8 rxq (NIC); 8 txq (TOE), 2 rxq (TOE)
t5nex0: PCIe gen2 x8, 2 ports, 22 MSI-X interrupts, 54 eq, 21 iq

Linux nfsmount flags:

/home from 192.168.3.51:/mnt/nashome
 Flags:
rw,relatime,vers=3D3,rsize=3D131072,wsize=3D131072,namlen=3D255,hard,proto=
=3Dtcp,timeo=3D600,retrans=3D2,sec=3Dsys,mountaddr=3D192.168.3.51,mountvers=
=3D3,mountport=3D855,mountproto=3Dudp,local_lock=3Dall,addr=3D192.168.3.51

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256280-227>