nfs network reconfigure delay timeout

General support questions
Post Reply
harishpathangay
Posts: 36
Joined: 2017/03/14 10:01:39

nfs network reconfigure delay timeout

Post by harishpathangay » 2019/02/11 05:02:08

hi,
I have nfs server up and running and /var/nfs directory is in exports file and I am able to mount this share in client machine and access all files and everything. No Issues in accessing the files.

I have a very simple java program which opens the file, read byte by byte and displays it to terminal output, which absolutely works fine.

the question is, when the file is reading and displaying by my java program, the network goes down say for 2 minutes, and it comes back. what will my java program do? currently the behavior is it is throwing IO exception after 90 seconds of network down.


how can I configure or mount nfs in client side indicating that tolerate 120 seconds of network down time? I am not able to do this with hard mount, or soft mount with timeo and retrains options.

it is always terminating with IO Exception after 90 seconds. How can I increase that time delay?
thanks,
harish p

Post Reply