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 01-24-2013, 05:01 PM   #1
Kernel009
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Rep: Reputation: Disabled
NFS TCP Issue


Having a weird problem that is puzzling me... been researching all day to no avail.

We have recently moved to multiple VLANS on our VM network and when we did this VFS started acting flakey on the Linux machines. They are all various incarnations of RedHat, the oldest being ES 2.1 which is the current focus of this message.

We were able to fix the NFS issue by moving the Linux machines back to their old VLAN config and not VM support is telling us that the issue is because NFS is configured to use UPD rather than TCP. So in an effort to test this theory, I was remounting from the DEV machine (Red Hat Enterprise Linux ES release 4 (Nahant Update 6)) to the PROD machine (Red Hat Enterprise Linux ES release 2.1 (Panama)). Please hold the "upgrade to newer" responses at this point .

Anyhow, on both machines port 2049 exists in the /etc/services file for UDP and TCP. On the DEV machine we have the following rpcinfo output

program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 969 status
100024 1 tcp 972 status
100011 1 udp 813 rquotad
100011 2 udp 813 rquotad
100011 1 tcp 816 rquotad
100011 2 tcp 816 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32768 nlockmgr
100021 3 udp 32768 nlockmgr
100021 4 udp 32768 nlockmgr
100021 1 tcp 32786 nlockmgr
100021 3 tcp 32786 nlockmgr
100021 4 tcp 32786 nlockmgr
100005 1 udp 829 mountd
100005 1 tcp 832 mountd
100005 2 udp 829 mountd
100005 2 tcp 832 mountd
100005 3 udp 829 mountd
100005 3 tcp 832 mountd

and on the PROD machine we have

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
100021 1 udp 32770 nlockmgr
100021 3 udp 32770 nlockmgr
100021 4 udp 32770 nlockmgr
100011 1 udp 620 rquotad
100011 2 udp 620 rquotad
100011 1 tcp 623 rquotad
100011 2 tcp 623 rquotad
100005 1 udp 32908 mountd
100005 1 tcp 34655 mountd
100005 2 udp 32908 mountd
100005 2 tcp 34655 mountd
100005 3 udp 32908 mountd
100005 3 tcp 34655 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs

So the question is, why isn't TCP showing up on the PROD machine even though its listed in the services file?

Thanks!
 
Old 01-24-2013, 05:44 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,255

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Report the errors that you get when you issue the mount command for your NFS volume, both at the command line and in messages.

One problem I've run into is that NFS is picky about DNS. For security purposes, the client needs to have correct forward and reverse mappings.
 
Old 04-09-2013, 01:35 PM   #3
Kernel009
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for the info and sorry for the late response to it... got slammed with other higher priority stuff shortly after posting. Gotta solve this by the end of month though now...
 
Old 04-09-2013, 05:07 PM   #4
Kernel009
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
From the machine tying to mount:

mount syrwms:/home/scratch /home/prod_scratch -o rsize=8192,wsize=8192,timeo=14,intr,soft,tcp
mount: mount to NFS server 'syrwms' failed: RPC Error: Program not registered.

There are no messages in the "messages" file that are related to this command.
 
  


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
Configuring NFS for TCP? Dox Systems - Brian SUSE / openSUSE 3 12-26-2007 11:39 AM
when NFS use TCP? xcore_on Linux - Newbie 1 05-17-2006 06:00 AM
NFS with TCP Wrappers! stakhous Linux - Software 1 02-17-2005 10:25 PM
nfs over tcp confusion linuxboy123 Linux - Software 2 08-19-2004 05:19 PM
nfs client should it use tcp or udp to nfs serve rportmapper andersonas Linux - Networking 2 06-30-2004 01:05 PM

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

All times are GMT -5. The time now is 10:41 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