zlacker

[return to "NFS: The Early Years"]
1. rwmj+Ef1[view] [source] 2022-06-21 10:03:07
>>chmayn+(OP)
The thing I hated in NFSv2/3 (and fixed, finally, in NFSv4) is the use of random port numbers, making it difficult to have an NFS server with a firewall. Yes you can set 5(!) environment variables in an obscure file to fix the port numbers. NFSv4 routes everything over port 2049, but unfortunately breaks user mapping, I guess we can't have everything.
◧◩
2. chasil+MG1[view] [source] 2022-06-21 13:45:14
>>rwmj+Ef1
Are you running idmapd? Are your uid/gids unified between the client and server?

Everything gets squashed in NFSv4 until idmapd is configured on both the client and the server, and they are set to the same "domain" (by default everything in the FQDN except for the simple host name).

Assuming this is up, everything will be unsquashed, and it will behave like NFSv3.

[go to top]