Showmount

From LQWiki
Jump to navigation Jump to search

showmount displays mount information for an NFS server.

Typical usage

The following shows all shares on the nfs server called nfsserver

tweedleburg # showmount -e nfsserver
Export list for nfsserver:
/vol/export          (everyone)
/vol/export/projects 10.1.1.0/22,10.2.1.0/22
/vol/export/tools    10.1.1.0/22,10.2.1.0/22
/vol/export/suse     server69,server7
/vol/vol0            server2,server501,server560
/vol/export/redhat   server8
/vol/export/share    (everyone)
tweedleburg #

Man page

From the manual page (man 8 showmount):

showmount queries the mount daemon on a remote host for information about the state of the NFS server on that machine. With no options showmount lists the set of clients who are mounting from that host. The output from showmount is designed to appear as though it were processesed through sort -u.