cancel
Showing results for 
Search instead for 
Did you mean: 
huyvl3-fptcloud
Flight Engineer
Flight Engineer
  • 3,564 Views

NFS can not showmount

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.

Labels (2)
4 Replies
redloup_in
Mission Specialist
Mission Specialist
  • 3,405 Views

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

sham-arsiwala
Mission Specialist
Mission Specialist
  • 2,451 Views

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

chypsa
Cadet
Cadet
  • 3,381 Views

I know this was a month ago, but just to liven the place a bit - this is from page 1 of the

Chapter 9. Access Network-Attached Storage

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?

Chetan_Tiwary_
Community Manager
Community Manager
  • 2,402 Views

@huyvl3-fptcloud this error signfies either your nfs service is not running or firewall is blocking the communication.

0 Kudos
Join the discussion
You must log in to join this conversation.