Charles
This is the way that NFS works ( or worked when I used it about 5 years back ) in the era of Solaris 2.6. Sorry.
What you could do is only mount the remote file system when you know when its up, and then use a script which pings the server first prior to mounting it.
Regards Keith
________________________________
From: main-bounces@lists.alug.org.uk on behalf of Charles Garcia-Tobin Sent: Fri 30/03/2007 4:58 AM To: ALUG Subject: [ALUG] Any NFS experts out there
Hi there
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
With these option I can get the mount either fail or succeed instantly which is great. But if the server goes down, and the client tries to access a file, or cd into the mount, it just hangs forever. Ideally it would also fail quickly.
I am mounting via autofs files from a server that is not always turned on. Global warming and big electric bill!!
Any ideas welcome
Cheers
Charles
_______________________________________________ main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!