Quick Tip: How to Fix Stale file handle & RPC: Program not registered between A FreeBSD 14 Server and Linux Client
Sometimes, for reasons still a mystery to me, I get an "Stale file handle" error when trying connect to my FreeBSD 14 fileserver's NFS server. Despite much internet sleuthing & LLM queries, I was not able to solve this until literally just now:
service mountd stop && service rpcbind restart
t && service nfsd restart
The order matters! I had found several recommendations to restart mountd, or nfsd, or rpcbind, or some combo of those, but you need to stop your old instance of mountd before restarting rpcbind & nfsd (which starts mountd).
So if this happens to you, hopefully this incantation will help!