I have a server A which stores files, and a server B with an NFS-v3 mount to server A. When server A fails to respond for any reason, any read request made on B will hang during a long time (several minutes).
I need that these requests to fail very quickly (1-2 seconds).
I tried to tweak parameters such as timeo, retrans, retry, soft/hard, sync/async, etc but nothing works well and it seems to be a known not-solved problem. I always get a very long timeout.
Is there any fix for NFS client, or any alternative userland client?
Is there any network protocol for file sharing (other than NFS) which properly handle broken connections, and unavailable servers?