Hi community,
I have 2 VM client and server (nfs). On server I could not showmount because getting error "clnt_create: RPC: Program not registered". On client too
client$ showmount --all serverb
clnt_create: RPC: Unable to receive
It is taking place on the test environment of RH134.
Hello,
During the lab, the /etc/nfs.conf file has been modified and renamed to /etc/nfs.conf-orig. If you copy back the original file that's works.
Don't forget to restart your nfs server.
Enjoy
Pascal
Hello,
you can just add some firewall rules and get showmount to run as expected.
firewall-cmd --permanent --add-service=nfs --add-service=rpc-bind --add-service=mountd
thanks
I know this was a month ago, but just to liven the place a bit - this is from page 1 of the
The NFSv4 protocol eliminated the use of the legacy RPC protocol for NFS transactions. Use of the showmount command on a server that supports only NFSv4 times out without receiving a response, because the rpcbind service is not running on the server. However, querying an NFSv4 server is simpler than querying an NFSv3 server.
NFSv4 introduced an export tree that contains all of the paths for the server's exported directories. To view all of the exported directories, mount the root (/) of the server's export tree. Mounting the export tree's root provides browseable paths for all exported directories, as children of the tree's root directory, but does not mount ("bind") any of the exported directories.
Maybe this is what was bothering you?
@huyvl3-fptcloud this error signfies either your nfs service is not running or firewall is blocking the communication.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.