VMware Cloud Community
ncarde
Enthusiast
Enthusiast

NFS Client (Help)

If I drop the software firewall (outgoing via 'esxcfg-firewall --allowOutgoing') I can mount a remote NFS share fine:

mount hostname:/sg/opt/depots /opt/depots

If I bring the firewall back up and enable the nfsClient via 'esxcfg-firewall -e nfsClient' the mount fails (times out).

I have tried opening the UDP 111 and TCP 2049 ports (Outgoing) also to no avail.

Have also tried cycling the firewall and network services.

Thanks for your help.

Tags (3)
0 Kudos
5 Replies
ncarde
Enthusiast
Enthusiast

Anyone?

Is there a way to identify which ports / protocols are getting dropped, etc.?

0 Kudos
AndreTheGiant
Immortal
Immortal

NFS support in ESX is for Datastore, not for normal client usage.

The firewall rule open works because the NFS storage packets goes on a vmkernel interface and not on the SC interface.

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
maishsk
Expert
Expert

check that the following services are running

portmap

and both nfs services

chkconfig --list | grep nfs


Maish

Virtualization Architect & Systems Administrator

Maish Saidel-Keesing • @maishsk • http://technodrone.blogspot.com • VMTN Moderator • vExpert • Co-author of VMware vSphere Design
0 Kudos
ncarde
Enthusiast
Enthusiast

Thank you, Andre - that is helpful....

Maishsk -- it works fine when I drop the outbound software firewall so this indicates that both portmap and nfs are functioning.

What I need to figure out now is which ports need to be opened for 'regular' nfs client access...

0 Kudos
AndreTheGiant
Immortal
Immortal

What I need to figure out now is which ports need to be opened for 'regular' nfs client access...

Unfortunately there isn't a single port.

NFS client can use a different not well know port (according on what portmap say).

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos