Thanks, that seems to work better with server death, and it is much simpler to set up.
Cheers
On Fri, 2007-03-30 at 00:56 +0100, MJ Ray wrote:
Charles Garcia-Tobin charles@garciatobin.plus.com wrote:
I'm trying to set up my NFS mount options so that if my server goes down, the file access fails as immediately as possible. Instead it seems to hang forever. Currently I have the following: rw,nolock,soft,intr,timeou=1,retrans=1
I think the option is timeo, not timeou? Certainly, I had an NFS system working roughly as you describe about 10 years ago, but it did need all the NFS servers and clients to be running perfectly compatible software IIRC. These days, I'm using fuse and sshfs, which fails in a neater way.
Some software also handles failure badly, particularly if it is aware that there was or should be a filesystem there.
Good luck!