?
Solved

nfs hung issue

Posted on 2009-05-04
6
Medium Priority
?
555 Views
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.



0
Comment
Question by:sants_pp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 29

Accepted Solution

by:
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
0
 
LVL 14

Assisted Solution

by:agriesser
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.
0
 

Author Comment

by:sants_pp
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
0
 
LVL 29

Expert Comment

by:fosiul01
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
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24305868
sorry its

nfsstat --version

do man nfsstat
it will give you extra options
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month7 days, 22 hours left to enroll

765 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