Nfs export works but showmount -e does not

Symptom

An nfs client runs this command with no output.

showmount -e 10.10.15.55

But the mount itself actually works. What gives?

Resolution

You have to make sure all the ports are open on the server.

firewall-cmd --permanent --add-service=rpc-bind
firewall-cmd --permanent --add-service=mountd
firewall-cmd --permanent --add-service=nfs
firewall-cmd --permanent --add-service=nfs3
firewall-cmd --reload

That’s ports 111, 2049, and 20048 on both tcp and udp.

Ripped off from RPC: Port mapper failure – Unable to receive: errno 113 (No route to host) [unix.stackexchange.com]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.