nfs hung issue

Posted on 2009-05-04
Medium Priority
Last Modified: 2013-12-02
HI experts,

  I have issue with one of our  server where nfs mount gets hung often.

there is mount NAS mount on this server..which gets hung very often..this is the error messages we get while i unmount and mount the nfs mount.

 RPC: error 5 connecting to server
nfs_statfs: statfs error = 5

server is running RHEL4 update 5..

what could be the reason?..is this a problem with nfs version or kernel version or application work flow side.

  please help me here.

Question by:sants_pp
  • 3
LVL 29

Accepted Solution

fosiul01 earned 1000 total points
ID: 24302286
Do you have any network sloness ??

Normaly the disadvantage of NFs is, if there is any network problem or if client try to  access NFS the server but due to slowness or network problem its unable to connect , its gets hang ...

have you tryed with ping to see if ping reply is Ok when this hang happended ..

look at server load to see if those are ok
LVL 14

Assisted Solution

agriesser earned 1000 total points
ID: 24302332
What are the options you're using to mount the nfs share? Usually you should go with so-called hard mounts, as they are a better choice when it comes to data integrity, but in your specific case switching to soft-mounts might help out here, because soft mounts are more reliable and don't hang that much.

There are several other tuning options for nfs mounts, like the number of retransmissions, etc.

I'd suggest you find out with what options your NFS share is mounted and then have a look at `man nfs` on your linux box to read more about these options and tune them then to your needs.

Author Comment

ID: 24305712
is there a way to check the currently running nfs version on the client side and also server side..
i am suspecting problem with nfs version
LVL 29

Expert Comment

ID: 24305832
run nfsstat command
it will give you full informaiton

Once i had a problem due to duplex speed of client and server
if both are not same, client will face problem to access nfs server
LVL 29

Expert Comment

ID: 24305868
sorry its

nfsstat --version

do man nfsstat
it will give you extra options

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Determining the an SCCM package name from the Package ID
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question