Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NFS over TCP - IPTables Issue

834586May 13 2011 — edited May 14 2011
Hi All,

Platform is Oracle VM 2.2.1. Using kernel 2.6.18-128.2.1.4.37.el5xen.

Storage is a NetApp using NFS over TCP option. Ports (both udp and tcp) 111, 2049 and the NFS server ports have been added to iptables.

Server has not been added to the pool yet. When trying a manual mount of the NFS volume with iptables enabled:

# mount -v NetApp:/mount/point /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).

If I turn off iptables, it mounts fine. If I use the option proto=tcp, it also mounts fine:

# mount -v -o proto=tcp NetApp:/mount/point /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: trying NetApp prog 100005 vers 3 prot tcp port 4046

So far, my existing server pool nodes have iptables turned off. If I try to add this new server with iptables turned on to the existing pool, I'm assuming it'll fail just like the manual mount also fails without the proto=tcp option.

Is there something I can tweak to get iptables (with the relevant nfs ports added) running on the nodes in my server pool?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2011
Added on May 13 2011
3 comments
973 views