We are running RedHat 5.2 with nfs-server-2.2beta37. We have installed a new kernel (2.1.131-ac9 patched to run md). When mounting file systems from this server using NFS over TCP, and then writing to the server, it usually causes the server to crash. Sometimes, however, it just disallows the write (permission denied) or reports that the file you are trying to write to is a directory. I have emailed Olaf Kirch who suggested the problem is probably in glibc: ----------------------------------------------------------- I have no idea where the UDP problem may come from. The TCP problem however is most likely caused by the glibc-2.0.7 RPC code. If you want to recompile glibc, look at sunrpc/svc_tcp.c and diff it against an earlier version of glibc. You'll notice that a call to svc_getreqset or some such was added to the readtcp() function; replace all of readtcp() with the older version and you should be fine. Or ask RedHat whether they have made a fixed version. Olaf --------------------------------------------------------- We have a patch and are currently building an RPM to solve our immediate problems. Keith Underwood Clemson University
Take a look at the list of 2.2.0pre problems at http://roadrunner.swansea.linux.org.uk/jobs.shtml In particualar it lists (as a problem not fixed by ac patches): - NFS client over tcp doesnt work. Now fixed read side
Sorry, I should have been more specific. The NFS clients using TCP are Solaris 2.5.1 and Dec Unix 4.0c machines. The NFS server can serve NFS over TCP. We have created a temporary patch to glibc based on Olaf Kirch's recommendation which alleviated the problem, though I would still like an official update from RedHat.
This has been assigned to a glibc developer for further review.
This should be fixed in the current beta or in the newer 2.2 kernels