Q

Improving NFS performance when using 'mount' command

I am using SuSE Linux 9.2 pro. I have configured NFS server for my work but when using mount command (for example: mount 10.10.5.7:/data /Public) from the clients, it took many times to mount (about 15-20s). Sometimes I got the error message "RPC time out." How can I improve my NFS server?

I am using SuSE Linux 9.2 pro. I have configured NFS server for my work but when using mount command (for example: mount 10.10.5.7:/data /Public) from the clients, it took many times to mount (about 15-20s). Sometimes I got the error message "RPC time out." How can I improve my NFS server?
There are two mount command options which will control the behaviors of client requests. They are "timeo" and "retrans." Using the -o timeo option will designate a length of time (in tenths of a second), that the client will wait until it decides to try again. The -o retrans option allows for the number of timeouts before the client gives up. Check the output of nfsstate and if you see excessive retransmissions, increase the default values for timeo and retrans. This should do the trick. You may also want to play around with the number of instances of NFSD daemon to see if that will improve your performance.
This was first published in September 2005

Dig deeper on Linux administration tools

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close