LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-10-2011, 03:51 AM   #1
AngelHunter
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
NFS problem


hi,


I'm using NFS and I have the following problem.
After ~100 days, the client and server lose connection, but the client doesn't know about this, it gives no error. The problem is that the changes on the server side aren't visible on the client side.

The nfs options are: "noatime, nolock, hard, udp, notcp, nosuid, nodev, rsize=8192, wsize=8192, actimeo=60"

The kernel version is: 2.6.16.27 built with 250 Hz.

Is this an already corrected issue in a kernel version? Or are my options wrong?


Thanks
 
Old 01-17-2011, 09:19 PM   #2
smoothdog
LQ Newbie
 
Registered: Dec 2009
Posts: 8

Rep: Reputation: Disabled
When using NFS over udp there's no state information held about the server, so it sounds like the caching is screwed up somehow. You've set caching to be 60 seconds for all queries (actimeo), you could try removing this option and letting the defaults kick in. For example acregmin is only 3 seconds, so you'd see updated info after 3 seconds instead of the 60 you're configuring.

Not sure what you mean by "lose the connection" as udp is connectionless. TCP is more reliable and sends regular pings to ensure the conenction is open, but is more tricky if the physical medium is unreliable (the problem UDP gets around).

May be worth removing actimeo first and if that doesn't work, try TCP instead of UDP?

My 2c
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
NFS problem whit AIX nfs server . uglumen Solaris / OpenSolaris 1 10-17-2008 06:10 AM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 04:18 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration