Ask the Expert

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 /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?

Requires Free Membership to View

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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: