double used hostuuids - Re: NFS issue - newnfs_request: Wrong session srvslot=1 slot=0, freeing free slot!!

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Sat, 27 Aug 2022 07:28:18 UTC
On 8/27/22 00:17, Rick Macklem wrote:
> Ganbold Tsagaankhuu <ganbold@gmail.com> wrote:
>>> Rick,
>>>
>>> On Fri, Aug 26, 2022 at 11:18 AM Rick Macklem > ><rmacklem@uoguelph.ca<mailto:rmacklem@uoguelph.ca>> wrote:
> Ganbold Tsagaankhuu <ganbold@gmail.com<mailto: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
> [stuff snipped]
>>>> 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?
> Oh, and one more thing. If you have multiple clients mounting the
> NFSv4 server, make sure they all have unique hostids.
> Check /etc/hostid and "sysctl kern.hostuuid". If two clients have the
> same kern.hostuuid, there will be lots of trouble.
> 
> rick


Just a thought. Is it possible/easy to warn about double used hostuuids from different client IP addresses?
Although that will not help this person using Netapp as a server.

Regards,
Ronald.