LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-31-2004, 12:55 PM   #1
grabner
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Question NFS hangs (server: 2.4.21, client: 2.6.6)


Hi!

The NFS client repeatably hangs after transfer of ~1MB in the following configuration:

NFS server: SuSE 9.0 (with SuSE kernel 2.4.21-99), runs on a P-III 1GHz with 256MB RAM

NFS client: SuSE 9.1 with the shipped kernel (2.6.4) replaced by a standard 2.6.6 kernel with identical configuration (from /proc/config.gz) due to random hangs during boot (RAID initialization). Tested on three (very) different systems, so the problem seems to be hardware-independent.

The kernel upgrade fixed the boot problem, but introduced the problem with NFS (which did not occur with the SuSE kernel 2.6.4). I can mount the NFS directories exported by the 2.4.21 server on the 2.6.6. client, list directory contents and access small files. However, when reading a large file, transfer stops after ~1MB. It requires a reboot to bring up NFS again. The problematic processes on the client seem to be "rpciod" and "lockd", since they survive both "init 1" and "kill -9". They appear like this with "ps":

9366 ? S 0:00 [rpciod]
9367 ? S 0:00 [lockd]

The client log file (node name "gx5") includes the complaint by "mount" about being older than the kernel, and some messages about the server (despite the "OK" messages there was no response):

-----------------
May 31 18:36:16 gx5 kernel: nfs warning: mount version older than kernel
May 31 18:38:21 gx5 kernel: nfs: server gateway not responding, still trying
May 31 18:38:21 gx5 last message repeated 15 times
May 31 19:01:39 gx5 kernel: nfs: server gateway OK
May 31 19:01:39 gx5 last message repeated 14 times
May 31 19:03:24 gx5 kernel: nfs: server gateway not responding, still trying
May 31 19:03:24 gx5 last message repeated 10 times
-----------------

The server log file (node name "gateway") shows nothing suspicious (besides the assigned port number "666", which is random in this case, I guess ):

-----------------
May 31 18:36:19 gateway rpc.mountd: authenticated mount request from gx5.home.at:666 for /disk/gateway/audio (/disk/gateway/audio)
-----------------

Ok, so I guess the reason is either a kernel bug or a severe misconfiguration. But since I have never digged that deep into the networking system, I have no idea which tools to replace (i.e., recompile with the new 2.6.6. kernel) to fix the problem. I should probably start with "mount", but before I go through this by trial&error, I would like to ask the networking gurus out there for a hint which part of the system is so confused by a kernel upgrade from 2.6.4 to 2.6.6. to cause the problem described above.

Thanks in advance,
Markus
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
Iptables denies NFS to client and hangs ethics Linux - Networking 7 11-21-2005 06:59 PM
SuSE 9.0 NFS client with RHL 7.3 NFS server ocjacob Linux - Networking 0 02-01-2005 01:01 PM
NFS Client Server software? neilcpp Linux - Networking 5 02-07-2004 11:59 AM

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

All times are GMT -5. The time now is 09:00 PM.

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