I stumbled on a strange problem regarding NFS, which I hadn’t used for a while on my server. I had some old exports which worked last time I used them, but not any more. I was doing an rsync and suddenly saw messages about chgrp or chmod failing. These messages are expected when uid/gid is not matching between server and client, so what’s up?
Running dmesg showed me messages like these:
Looking in /var/log/syslog I saw messages like these:
I finally found a working solution here.
I’m not sure when or why this broke. I did re-install my workstation since last time NFS was working, but I’ve done that previously without any NFS problems, and my DNS is correctly set up
Anyway, to recap the solution from the link above:
Editing /etc/idmapd.conf and setting the correct Domain = <my domain name>
Restart idmapd:
I did this on both server and client, since I have some stuff I want to share the other way around as well.