Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to mix the very old with the new. I have read that there are some nfs parameters that you can tweak to improve stability and compatibility. I don't care about speed at all, what would be the optimum settings for a stable and compatible nfs setup?

I have four Sun Ultra 5 boxes that share folders with nfs and have no problem at all. I am trying both share to and mount from a Red Hat EL3 box. There are major problems here. On the Linux side, shares will become unmounted, but they can become remounted if nfs.server is restarted on the Solaris side. Even worse, sometimes the Solaris nfs hangs when trying to mount the Linux share on bootup, making the box unable to boot. The RH box is owned by a different department, so changes on the Sun side would be easier for me to make.

share|improve this question
    
RHEL3 is new? Its running a 2.4 kernel and was released in 2003. Linux NFS has matured quite a bit since that period. Sorry I don't have any tips or answers for you. –  3dinfluence Feb 26 '10 at 5:14
    
The Sun boxes are running Solaris 2.6 which I believe was released in 1998. So for me, RHEL3 is new. –  joshxdr Feb 26 '10 at 22:24

1 Answer 1

Export your share with async option (to avoid IOBOUND errors).

Example /etc/exports on server:
/nfsshare      192.168.1.0/24(rw,async)

Mount up the share on the client with intr and soft for the restarting problem.

Example /etc/fstab entry on client:
server:/nfsshare   /mnt/nfsshare      nfs    intr,soft,async
share|improve this answer
    
Thanks for this advice. I will try this out today. –  joshxdr Mar 3 '10 at 14:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.