Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-16-2011, 01:42 AM   #1
LQ Newbie
Registered: May 2011
Posts: 20

Rep: Reputation: 0
NFS Client & Iptables Issue


Client is running Oracle VM Server 2.2.1 (kernel 2.6.18- Storage is a NetApp 3210 (NFS configured to use TCP).

Iptables on client has udp and tcp ports 111, 2049 and the NFS server ports opened. Info retrieved using:

rpcinfo -p NetApp

When trying a manual mount ...

#mount -v NetApp:/share /mnt
mount: no type was given - I'll assume nfs because of the colon
mount: trying NetApp prog 100003 vers 3 prot tcp port 2049
mount: mount to NFS server 'NetApp' failed: timed out (retrying).

... but when using the proto=tcp option, it works ...

#mount -v -o proto=tcp NetApp:/share /mnt

... stopping iptables also works (I can manually mount the share without using proto=tcp).

Is the mounting process somehow trying to negotiate first using udp which the Netapp doesn't respond and hence it fails by timing out?

Can I configure iptables such that I don't have to use the proto=tcp option? Or is there another configuration file I can tweak so that I don't have to use the proto=tcp option?

Old 05-17-2011, 12:51 PM   #2
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
that's not a newbie question! would be better in network or server forum.
Anyway, you may want to take some network traces and analyze them (tcpdump and/or wireshark).
From that you should know if the server is answering, and maybe even decode the answer and get a clue on what is happening.

If you suspect firewall blocks too much, then maybe run without a firewall while experimenting, and compare the network traces with and without firewall. You know if your network is a dangerous place or not for experimenting without a firewall.
Old 05-17-2011, 09:21 PM   #3
LQ Newbie
Registered: May 2011
Posts: 20

Original Poster
Rep: Reputation: 0
OK, will try in the network section. I've less than 6 months experience in linux so thought I'll try the newbie section. Thanks.


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
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 11:22 AM
NFS client issue Deathkarr Red Hat 5 02-15-2010 02:24 AM
Iptables denies NFS to client and hangs ethics Linux - Networking 7 11-21-2005 07:59 PM
NIS server && client issue LinuxRam Linux - Networking 1 11-03-2004 12:14 PM
pptp server/client settings & routing issue csvke Linux - Networking 0 01-27-2004 08:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:36 PM.

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