NFS issues rpc.mountd[2790]: v4.2 client detached (and attached)

r.lucassen

Renowned Member
Jan 24, 2018
13
0
66
56
Hello list,

I have 2 clusters, one with 2 nodes, one with 3 nodes. On both clusters I set up two NFS shares to 2 servers: nfs1 and nfs2. Everything works fine. But in the logs on BOTH NFS servers I see a "notice" indicating that 1 node in the 2-node cluster and 1 node in the 3-node cluster attaches for a few seconds an detaches again. The other servers remain silent. As the logs are refreshed each 10 seconds I see messages like this:

Code:
daemon.notice: Sep  3 13:30:33 rpc.mountd[2790]: v4.2 client attached: 0xd297c31e6a99076f from "192.168.255.16:774"
daemon.notice: Sep  3 13:30:40 rpc.mountd[2790]: v4.2 client detached: 0xd297c31e6a99076f from "192.168.255.16:774"

Anyone a hint what this could be? As these are notices, I think it is not something critical, but I'm eager to know what happens here.

Nodes hardware, DL360-G6, Proxmox9 (up2date), NFS: nfs-kernel-server Debian 13

Richard
 
So this 192.168.255.16 is a pve node nfs client. I assume you have 1 switch or 2 ?
On switch I would first just cross-exchange the used cable port plugin's from pve-cluster1-node1 and pve-cluster1-node2 so your problem should be seen on nfs server moving to another client -> then cable problem. See and report what happen.
You could/should even do the same to cluster2, exchange on switch pve-cluster2-node1 and pve-cluster2-node2.
 
Yes, on both NFS servers I see these messages of the node 192.168.255.16. And there are two switches, the NIC's are bonded in mode balance-alb. The issue is that everything works well and there are no notice/warning/error messages whatsoever on the proxmox side. But I when I'm on site I can test changing cables and see if the messages will move to another host. That's a good idea
:)
And once again: these are "notice" messages.
 
Never used balance-alb before but could be theoretically the reason also but cables or the connection settings of are mostly faulty if hickups occur.
Had even a switch in the past who got hickups and was the last we thought of. So test further until you will be able to locate your fault by try to moving it.