On Thu, 2021-02-18 at 14:23 -0800, Gordon Messmer wrote:
On 2/18/21 8:38 AM, Jerome Lille wrote:
But as I said the nfs shares seem to work fine, I can read and write to files on them.
Yep, everything will look fine until an application on your client tries to lock a file, and then it will hang forever. Locking files during editing is pretty common, so I'm surprised you haven't seen problems yet.
You should do one of:
1: Update the client fstab and use NFSv4 instead of v3. In most cases, this will be the simplest and best fix.
Thanks, for the suggestion.
I tried to simply change type from nfs to nfs4 in the fstab in the client. Unfortunately I then get the response
mount.nfs4: access denied by server while mounting ...
There is nothing in the server logs about this. And it is not the firewall, because even when I turned it off, I get the same access denied.
Anything else I have to change?
My exportfs is very simple, just /path/to/export client(rw)
/Jerome