|Newer page:||version 17||Last edited on Wednesday, June 4, 2008 7:14:19 pm||by AlastairPorter|
|Older page:||version 16||Last edited on Tuesday, July 19, 2005 5:40:34 pm||by MattBrown||Revert|
@@ -1,17 +1,24 @@
!!!Useful NFS goodness
!!NFS Hangs when the server goes away
By default NFS will hang until the server responds, ignoring signals. If the server comes back everything should resume and pick up where it left off. If you want to change this behaviour we recommend using 'hard,intr' in fstab(5), eg:
server:/mount /mountpoint nfs intr,hard 0 0
the 'hard' means 'never give up' (you can use 'soft' here, but it's not a good idea, the server tends to time it out too quickly. you might want to look at timeo= to set this timeout up, but hard is probably wiser)
the 'intr' means 'allow signals to interrupt this process'. ie: if the process has 'hung' waiting on the nfs server, you can still kill it (if for instance you wanted to umount(8) the now broken nfs mount)
!!NFS Hangs when the servers still there
I was having issues with NFS locking up or producing IO errors when transfering large(ish) ammounts of data (10Meg or more) via NFS using pretty much defult options, changing the options to mount as follows cleared these problems up.
!!I exported stuff and NFS isn't allowing it to mount!
You probably forgot to run exportfs(8) after updating exports(5). Silly you.
@@ -51,9 +58,9 @@
* [NFS Mini Howto|http://www.vanemery.com/Linux/NFS-Van.html]
* [Optimising NFS Preformance|http://www.linuxforum.com/linux-nfs/performance.html]
* [NFS v4 features and interoperability questions with previous v2 and v3 of NFS protocol.|http://www.hummingbird.com/support/nc/nfs/nfs9002945.html?cks=y]
* [Learning NFSv4 with Fedora Core 2 (Linux 2.6.5 kernel)|http://www.vanemery.com/Linux/NFSv4/NFSv4-no-rpcsec.html]
+ * [NFS v4 features and interoperability questions with previous v2 and v3 of NFS protocol.|http://www.hummingbird.com/support/nc/nfs/nfs9002945.html?cks=y]
+ * [Learning NFSv4 with Fedora Core 2 (Linux 2.6.5 kernel)|http://www.vanemery.com/Linux/NFSv4/NFSv4-no-rpcsec.html]