Re: NFS issue - newnfs_request: Wrong session srvslot=1 slot=0, freeing free slot!!
Date: Fri, 26 Aug 2022 03:48:20 UTC
Rick, On Fri, Aug 26, 2022 at 11:18 AM Rick Macklem <rmacklem@uoguelph.ca> wrote: > Ganbold Tsagaankhuu <ganbold@gmail.com> wrote: > > Hi, > > > > We are having trouble with NFS running on STABLE: > > > > Aug 26 02:21:42 iron2 kernel: newnfs_request: Wrong session srvslot=1 > slot=0 > > Aug 26 02:21:42 iron2 kernel: freeing free slot!! > > Aug 26 02:21:43 iron2 kernel: newnfs_request: Wrong session srvslot=1 > slot=0 > > Aug 26 02:21:43 iron2 kernel: freeing free slot!! > > Aug 26 02:21:54 iron2 kernel: newnfs_request: Wrong session srvslot=1 > slot=0 > > Aug 26 02:21:54 iron2 kernel: freeing free slot!! > > Aug 26 02:21:58 iron2 kernel: newnfs_request: Wrong session srvslot=1 > slot=2 > > Aug 26 02:21:58 iron2 kernel: retseq diff 0x1 > > Aug 26 02:21:58 iron2 kernel: freeing free slot!! > > Aug 26 02:21:59 iron2 kernel: newnfs_request: Wrong session srvslot=1 > slot=2 > > Aug 26 02:21:59 iron2 kernel: retseq diff 0x1 > > Aug 26 02:21:59 iron2 kernel: freeing free slot!! > > Aug 26 02:22:12 iron2 kernel: newnfs_request: Wrong session srvslot=0 > slot=2 > > Aug 26 02:22:12 iron2 kernel: retseq diff 0x1 > > Aug 26 02:22:12 iron2 kernel: freeing free slot!! > > Aug 26 02:22:14 iron2 kernel: newnfs_request: Wrong session srvslot=1 > slot=0 > > Aug 26 02:22:14 iron2 kernel: freeing free slot!! > > Aug 26 02:22:15 iron2 kernel: newnfs_request: Bad session slot=1 > > Aug 26 02:22:15 iron2 kernel: freeing free slot!! > > Aug 26 02:22:30 iron2 kernel: newnfs_request: Wrong session srvslot=1 > slot=2 > > Aug 26 02:22:30 iron2 kernel: retseq diff 0x1 > > Aug 26 02:22:30 iron2 kernel: freeing free slot!! > > Aug 26 02:22:31 iron2 kernel: newnfs_request: Bad session slot=1 > > Aug 26 02:22:31 iron2 kernel: freeing free slot!! > > Aug 26 02:22:46 iron2 kernel: newnfs_request: Wrong session srvslot=1 > slot=0 > > Aug 26 02:22:46 iron2 kernel: freeing free slot!! > > > > We are running FreeBSD 13.1-STABLE #3 stable/13-n252198-c1434fd2dea: Fri > Aug 26 01:51:53 UTC 2022 and mount options are: > > > > rw,nfsv4,minorversion=1,bg,soft,timeo=20,retrans=5,retrycnt=5 > > ro,nfsv4,minorversion=1,bg,soft,timeo=20,retrans=5,retrycnt=5 > > > > Is there any fix for this issue? > - Don't use "soft" mounts. See the Bugs section of "man mount_nfs". > There are patches in stable/13 dated July 10, 2022. (I have no idea > how to tell if n252198 would have them) that help, but use of "soft" > mounts will never work correctly for NFSv4. > - The attached small patch (not committed yet, but should be in > stable/13 in about 10days) fixes a couple of corner cases. If you > are using a FreeBSD NFS server, I believe these corner cases only > occur after the NFS server reboots. > > rick > ps: If you test the attached patch, please let me know how it goes. > Is this patch for NFS server? We are using Netapp NFS server on server side. thanks, Ganbold > > thanks a lot, > > Ganbold > >