Mounting NFS share hangs on VMware ESX server

I just happened to face very trivial issue while mounting NFS share on VMware ESX box. I did verify NFS exports on NFS server and NFS service was indeed running on NFS server.

Also verified that “nfsClient” service is enabled in ESX firewall using esxcfg-firewall CLI.

[root@esx35 root]# esxcfg-firewall --enableService  nfsClient

Still I couldn’t able to mount NFS share on VMware ESX and mount command was hanged or stuck.

[root@esx35 root]# mount –t nfs nfs-server:/share /mnt/share





After bit of troubleshooting, it was found that “portmap” service was down by default. So after enabling “portmap” service, mount CLI succeeded in mounting NFS share.

[root@esx35 root]# /etc/init.d/portmap status
portmap is stopped
[root@esx35 root]# /etc/init.d/portmap restart
Stopping portmapper:                                       [FAILED]
Starting portmapper:                                        [  OK  ][root@esx35 root]#mount –t nfs nfs-server:/share /mnt/share[root@esx35 root]#echo $?

Don't be left Behind!
Sign up for daily updates delivered directly to your inbox.

Mandar Pise Opinions expressed by techsutram contributors are their own.

1 comment:

  1. Thanks for the tip about starting portmap service to make NFS mounts work on an ESXi.


    Your valuable comments are welcome. (Moderated)