Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2021 13:17:52 -0400
From:      Jason Breitman <jbreitman@tildenparkcapital.com>
To:        freebsd-net@freebsd.org
Subject:   NFS Mount Hangs
Message-ID:  <33693DE3-7FF8-4FAB-9A75-75576B88A566@tildenparkcapital.com>
In-Reply-To: <3750001D-3F1C-4D9A-A9D9-98BCA6CA65A4@tildenparkcapital.com>
References:  <C643BB9C-6B61-4DAC-8CF9-CE04EA7292D0@tildenparkcapital.com> <3750001D-3F1C-4D9A-A9D9-98BCA6CA65A4@tildenparkcapital.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Please review the details below and let me know if there is a setting that =
I should apply to my FreeBSD NFS Server or if there is a bug fix that I can=
 apply to resolve my issue.
I shared this information with the linux-nfs mailing list and they believe =
the issue is on the server side.

Issue
NFSv4 mounts periodically hang on the NFS Client.

During this time, it is possible to manually mount from another NFS Server =
on the NFS Client having issues.
Also, other NFS Clients are successfully mounting from the NFS Server in qu=
estion.
Rebooting the NFS Client appears to be the only solution.

Environment
NFS Server
OS:          FreeBSD 12.1-RELEASE-p5

NFS Client
OS: =09=09Debian Buster 10.8
Kernel:=094.19.171-2
Protocol:=09NFSv4 with Kerberos Security
Mount Options:=09nfs-server.domain.com:/data=09/mnt/data=09nfs4=09lookupcac=
he=3Dpos,noresvport,sec=3Dkrb5,hard,rsize=3D1048576,wsize=3D1048576=0900

Output from the NFS Client when the issue occurs
# netstat -an | grep NFS.Server.IP.X
tcp        0      0 NFS.Client.IP.X:46896      NFS.Server.IP.X:2049       F=
IN_WAIT2

# cat /sys/kernel/debug/sunrpc/rpc_xprt/*/info
netid: tcp
addr:  NFS.Server.IP.X
port:  2049
state: 0x51=20

syslog
Mar  4 10:29:27 hostname kernel: [437414.131978] -pid- flgs status -client-=
 --rqstp- -timeout ---ops--
Mar  4 10:29:27 hostname kernel: [437414.133158] 57419 40a1      0 9b723c73=
 143cfadf    30000 4ca953b5 nfsv4 OPEN_NOATTR a:call_connect_status [sunrpc=
] q:xprt_pending
Mar  4 10:29:27 hostname kernel: [437414.135211] 57420 4081    -11 9b723c73=
   (null)        0 4ca953b5 nfsv4 OPEN_NOATTR a:call_reserveresult [sunrpc]=
 q:xprt_sending
Mar  4 10:29:27 hostname kernel: [437414.137250] 57421 4081    -11 9b723c73=
   (null)        0 4ca953b5 nfsv4 OPEN_NOATTR a:call_reserveresult [sunrpc]=
 q:xprt_sending
Mar  4 10:29:27 hostname kernel: [437414.139345] 57422 4081    -11 9b723c73=
   (null)        0 4ca953b5 nfsv4 OPEN_NOATTR a:call_reserveresult [sunrpc]=
 q:xprt_sending
Mar  4 10:29:27 hostname kernel: [437414.141496] 57423 4081    -11 9b723c73=
   (null)        0 4ca953b5 nfsv4 OPEN_NOATTR a:call_reserveresult [sunrpc]=
 q:xprt_sending
Mar  4 10:29:27 hostname kernel: [437414.143712] 57424 4081    -11 9b723c73=
   (null)        0 4ca953b5 nfsv4 OPEN_NOATTR a:call_reserveresult [sunrpc]=
 q:xprt_sending
Mar  4 10:29:27 hostname kernel: [437414.145940] 57425 4081    -11 9b723c73=
   (null)        0 4ca953b5 nfsv4 OPEN_NOATTR a:call_reserveresult [sunrpc]=
 q:xprt_sending
Mar  4 10:29:27 hostname kernel: [437414.148227] 57426 4081    -11 9b723c73=
   (null)        0 4ca953b5 nfsv4 OPEN_NOATTR a:call_reserveresult [sunrpc]=
 q:xprt_sending
Mar  4 10:29:27 hostname kernel: [437414.150575] 57427 4081    -11 9b723c73=
   (null)        0 4ca953b5 nfsv4 OPEN_NOATTR a:call_reserveresult [sunrpc]=
 q:xprt_sending
Mar  4 10:29:27 hostname kernel: [437414.152938] 57428 4080    -11 9b723c73=
   (null)        0  fb0400d nfsv4 LOOKUP a:call_reserveresult [sunrpc] q:xp=
rt_sending
Mar  4 10:29:27 hostname kernel: [437414.154478] 57433 4080    -11 27bf33c1=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.156023] 57434 4080    -11 27bf33c1=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.157549] 57435 4080    -11 27bf33c1=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.159073] 57436 4080    -11 27bf33c1=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.160587] 57437 4080    -11 27bf33c1=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.162094] 57438 4080    -11 27bf33c1=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.163597] 57431 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.165100] 57432 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.166598] 57439 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.168088] 57440 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.169573] 57441 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.171058] 57442 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.172532] 57443 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.173991] 57444 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.175452] 57445 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.176906] 57446 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.178349] 57447 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.179792] 57448 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.181227] 57449 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.182655] 57450 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.184081] 57451 4080    -11 3118865a=
   (null)        0  fb0400d nfsv4 GETATTR a:call_reserveresult [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.185494] 57418 4880    -11 d42d6144=
 ab8b1696        0  fb0400d nfsv4 STATFS a:call_connect_status [sunrpc] q:x=
prt_sending
Mar  4 10:29:27 hostname kernel: [437414.186905] 57430 4080    -11 d42d6144=
   (null)        0  fb0400d nfsv4 STATFS a:call_reserveresult [sunrpc] q:xp=
rt_sending
Mar  4 10:29:27 hostname kernel: [437414.188310] 57429 5281    -11 907fb25c=
   (null)        0 5fa6554c nfsv4 SEQUENCE a:call_reserveresult [sunrpc] q:=
xprt_sending
Mar  4 10:29:30 hostname kernel: [437417.110517] RPC: 57419 xprt_connect_st=
atus: connect attempt timed out
Mar  4 10:29:30 hostname kernel: [437417.112172] RPC: 57419 call_connect_st=
atus (status -110)
Mar  4 10:29:30 hostname kernel: [437417.113337] RPC: 57419 call_timeout (m=
ajor)
Mar  4 10:29:30 hostname kernel: [437417.114385] RPC: 57419 call_bind (stat=
us 0)
Mar  4 10:29:30 hostname kernel: [437417.115402] RPC: 57419 call_connect xp=
rt 00000000e061831b is not connected
Mar  4 10:29:30 hostname kernel: [437417.116547] RPC: 57419 xprt_connect xp=
rt 00000000e061831b is not connected
Mar  4 10:30:31 hostname kernel: [437478.551090] RPC: 57419 xprt_connect_st=
atus: connect attempt timed out
Mar  4 10:30:31 hostname kernel: [437478.552396] RPC: 57419 call_connect_st=
atus (status -110)
Mar  4 10:30:31 hostname kernel: [437478.553417] RPC: 57419 call_timeout (m=
inor)
Mar  4 10:30:31 hostname kernel: [437478.554327] RPC: 57419 call_bind (stat=
us 0)
Mar  4 10:30:31 hostname kernel: [437478.555220] RPC: 57419 call_connect xp=
rt 00000000e061831b is not connected
Mar  4 10:30:31 hostname kernel: [437478.556254] RPC: 57419 xprt_connect xp=
rt 00000000e061831b is not connected


Jason Breitman









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33693DE3-7FF8-4FAB-9A75-75576B88A566>