From LQWiki
Jump to: navigation, 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/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.