Difference between revisions of "Showmount"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
  Export list for IP_OR_DNS_NAME:
 
  Export list for IP_OR_DNS_NAME:
 
  /exported_fs  10.10.xx.xx/24
 
  /exported_fs  10.10.xx.xx/24
 
  
 
  showmount -e
 
  showmount -e
 
  Export list for SERVER_NAME:
 
  Export list for SERVER_NAME:
 
  
 
  showmount -e
 
  showmount -e
Line 25: Line 23:
 
  showmount -e
 
  showmount -e
 
  Restart service: <code>systemctl start nfs-server</code>
 
  Restart service: <code>systemctl start nfs-server</code>
 
  
 
== Related commands ==
 
== Related commands ==

Revision as of 14:37, 27 April 2021

showmount command included in nfs-common package

showmount
Hosts on SERVER_NAME:
showmount
clnt_create: RPC: Program not registered
showmount -e IP_OR_DNS_NAME
Export list for IP_OR_DNS_NAME:
/exported_fs  10.10.xx.xx/24
showmount -e
Export list for SERVER_NAME:
showmount -e
Export list for SERVER_NAME:
/path/exported 10.10.10.10/24
showmount
clnt_create: RPC: Program not registered
showmount -e
Restart service: systemctl start nfs-server

Related commands

See also

Advertising: