I'm just getting started setting up my unraid box, and I want to transfer media from an old synology NAS to it. I installed Unassigned Devices, and was able to find and add my old NFS share. But when I mount it, all of the uid/gid are 4294967294. If I try mounting directly with an fstab entry and running `mount -a` the same result happens, so it's definitely a configuration I just don't know how to make happen in unraid.
I can confirm the UIDs/GIDs match in /etc/passwd and /etc/group on both unraid and synology. And when I query `nfsidmap -d` I get my expected NFS domain. I haven't been able to figure this one out.
I noticed `/sys/module/nfs/parameters/nfs4_disable_idmapping` was Y, so I echo'd N and ran `nfsidmap -c` along with umounting and mounting again.
Strangely, on a client, I have mounted both this old NFS share and a new one I created in unraid and they both show uid/gid correctly. This leads me to think I have some missing client configuration in unraid, but I can't figure it out.
Edit 2024-02-25:
If anyone else runs into this, here's how I fixed it.
I added an `/etc/idmapd.conf` file that declares my domain, as well as this file to resolve ids:
cat /etc/request-key.d/id_resolver.conf
create id_resolver * * /usr/sbin/nfsidmap -t 600 %k %d
and now user IDs are resolving correctly. To get groups to resolve, it turns out I have to make these manually, so I have a few `groupadd` commands in my go script.