From: "Lever, Charles" Subject: RE: tcp over nfs for redhat 9 kernel 2.4.20-31.9 Date: Mon, 7 Jun 2004 13:12:53 -0700 Sender: nfs-admin@lists.sourceforge.net Message-ID: <482A3FA0050D21419C269D13989C61130435E21D@lavender-fe.eng.netapp.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C44CCB.D0716ACF" Cc: Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1BXQUT-0000LD-Ad for nfs@lists.sourceforge.net; Mon, 07 Jun 2004 13:13:05 -0700 Received: from mx01.netapp.com ([198.95.226.53]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.30) id 1BXQUS-0001eJ-QW for nfs@lists.sourceforge.net; Mon, 07 Jun 2004 13:13:04 -0700 To: "Enils Bashi" Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C44CCB.D0716ACF Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable make sure you have enabled CONFIG_EXPERIMENTAL. it's the very first menu item in "make xconfig". =20 -----Original Message----- From: Enils Bashi [mailto:EBashi@chesapeakebay.net]=20 Sent: Monday, June 07, 2004 4:04 PM To: nfs@lists.sourceforge.net Subject: [NFS] tcp over nfs for redhat 9 kernel 2.4.20-31.9 Hi, =20 I had posted something about this earlier one of the responses I received was that my nfs server does not support tcp over nfs since the output of rpcinfo -p looked like the following: =20 [root@client linux-2.4]# rpcinfo -p server program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 32768 status 100024 1 tcp 32768 status 391002 2 tcp 32769 sgi_fam 100011 1 udp 705 rquotad 100011 2 udp 705 rquotad 100011 1 tcp 708 rquotad 100011 2 tcp 708 rquotad 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100021 1 udp 33050 nlockmgr 100021 3 udp 33050 nlockmgr 100021 4 udp 33050 nlockmgr 100005 1 udp 33051 mountd 100005 1 tcp 40931 mountd 100005 2 udp 33051 mountd 100005 2 tcp 40931 mountd 100005 3 udp 33051 mountd 100005 3 tcp 40931 mountd =20 Just for kicks I installed Fedora Core 2 on one of my nfs client machines. I mounted all drives with proto=3Dtcp and nfsvers=3D3 and everything worked great. I ran some tests and I got very good results. Nfs on Fedora was at least 100% faster than on Redhat. All this done using the same nfs server located on a Redhat 9 Server. My other Redhat 9 clients all with Kernel 2.4.20-31.9 fail to mount with proto=3Dtcp. = From the reading I have done most kernels above 2.4.19 are supposed to have nfs over tcp support. I tried recompiling the kernel on one of the Redhat nfs clients using xconfig; but under the Network File System options tcp support for nfs was grayed out (disabled). I am not sure whether this means that is already installed. I have noticed that other people have had similar problems but I don't see a straight answer on the forum. =20 Any and all feedback would be greatly appreciated. =20 Enils ------_=_NextPart_001_01C44CCB.D0716ACF Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
make=20 sure you have enabled CONFIG_EXPERIMENTAL.  it's the very first = menu item=20 in "make xconfig".
 
-----Original Message-----
From: = Enils Bashi=20 [mailto:EBashi@chesapeakebay.net]
Sent: Monday, June 07, = 2004 4:04=20 PM
To: nfs@lists.sourceforge.net
Subject: [NFS] = tcp over=20 nfs for redhat 9 kernel 2.4.20-31.9

Hi,

 

I had posted something = about this=20 earlier one of the responses I received was that my nfs server does = not=20 support tcp over nfs since the output of rpcinfo –p looked like = the=20 following:

 

[root@client linux-2.4]# = rpcinfo=20 -p server

   program = vers=20 proto   port

   =20 100000    2   tcp    111  = portmapper

   =20 100000    2   udp    111  = portmapper

   =20 100024    1   udp  32768 =20 status

   =20 100024    1   tcp  32768 =20 status

   =20 391002    2   tcp  32769 =20 sgi_fam

   =20 100011    1   udp    705  = rquotad

   =20 100011    2   udp    705  = rquotad

   =20 100011    1   tcp    708  = rquotad

   =20 100011    2   tcp    708  = rquotad

   =20 100003    2   udp   2049 =20 nfs

   =20 100003    3   udp   2049 =20 nfs

   =20 100021    1   udp  33050 =20 nlockmgr

   =20 100021    3   udp  33050 =20 nlockmgr

   =20 100021    4   udp  33050 =20 nlockmgr

   =20 100005    1   udp  33051 =20 mountd

   =20 100005    1   tcp  40931 =20 mountd

   =20 100005    2   udp  33051 =20 mountd

   =20 100005    2   tcp  40931 =20 mountd

   =20 100005    3   udp  33051 =20 mountd

   =20 100005    3   tcp  40931 =20 mountd

 

Just for kicks I = installed Fedora=20 Core 2 on one of my nfs client machines. I mounted all drives with = proto=3Dtcp=20 and nfsvers=3D3 and everything worked great. I ran some tests and I = got very=20 good results. Nfs on Fedora was at least 100% faster than on Redhat. = All this=20 done using the same nfs server located on a Redhat 9 Server. My other = Redhat 9=20 clients all with Kernel 2.4.20-31.9 fail to mount with proto=3Dtcp. = >From the=20 reading I have done most  kernels above 2.4.19 are supposed to = have nfs=20 over tcp support. I tried recompiling the kernel on one of the Redhat = nfs=20 clients using xconfig; but under the Network File System options tcp = support=20 for nfs was grayed out (disabled). I am not sure whether this means = that is=20 already installed. I have noticed that other people have had similar = problems=20 but I don’t see a straight answer on the = forum.

 

Any and all feedback = would be=20 greatly appreciated.

 

Enils

------_=_NextPart_001_01C44CCB.D0716ACF-- ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs