Logo

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

.

.

.

^C

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 $?
0


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.

Mandar is a seasoned software professional & Fintech, Cloud, IoT, and Blockchain enthusiast. He writes to benefit others from his experiences. His overall goal is to help people learn about Fintech, Cloud, IoT, AI and Blockchain, and the effects they will have economically and socially in the future.

1 comment:

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

    ReplyDelete

    Your valuable comments are welcome. (Moderated)


Instagram