What does one do when they get the error below while trying to see the shared NFS directory with the help of the showmount command:-
[root@localhost ~]# showmount -e server_address
clnt_create: RPC: Port mapper failure – Unable to receive: errno 113 (No route to host)
The root cause of getting this error above is your firewall. Make sure that you’ve enabled the 2049 port for NFS and port 111 for Portmap, or if you can stop iptables that will also help.
/etc/init.d/iptables stop.
Now again try to check the shared drive using the address below:-
[root@localhost ~]# showmount -e server_address
For ex-
[root@localhost ~]# showmount -e 10.10.50.124
Export list for 10.10.50.124:
/usr/local/src 10.10.50.0/24
That’s it.
]]>