Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ showmount(1M) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

uname(1)

mountd(1M)

showmount(1M)                                                 showmount(1M)

NAME
     showmount - show information on available or mounted NFS resources

SYNOPSIS
     showmount [-a] [-d] [-e] [host]

DESCRIPTION
     This command provides information on:

     -  the names of the clients which have mounted file systems from a
        server and the names of the file systems

     -  the file systems which have been exported for mounting by a server.

     The showmount command is used, for example,

     -  when the system administrator, prior to mounting a remote file sys-
        tem, wants to know whether this file system has been exported

     -  when the network administrator wants to know how big the burden is
        on the server, just in case it should prove necessary to redistri-
        bute the workload

     -  when the system administrator, prior to shutting down a server,
        wants to know which users have mounted file systems from this
        server. These users have to be informed that the system is going to
        be shut down.

     The showmount command takes the above information from the mountd dae-
     mon on the server. This daemon has to be available on the server.

OPTIONS
     no argument
          outputs the names of the clients which have mounted file systems
          from the computer where the command was given.

     -a   produces a list with the names of the file systems and the
          clients which have been mounted from the server host. The output
          has the following format:

          hostname:directory

          hostname     name of the client

          directory    name of the mounted file system

     -d   outputs the names of all file systems from the server host which
          are mounted on clients.

     -e   outputs the names of the file systems exported by the server
          host.




Page 1                       Reliant UNIX 5.44                Printed 11/98

showmount(1M)                                                 showmount(1M)

     host is the name of the server from which information is requested.

          If the argument is not specified, the name which is output with
          the uname -n command is used as the default value.

EXAMPLES
     1) The system administrator is working on the computer york and would
        like to know which clients have mounted file systems from york.

        Input:

        showmount

        Output:

        mountainview tokyo

        The clients mountainview and tokyo have mounted file systems from
        the server york.

     2) The system administrator is working on the server york and wants to
        know which clients have mounted which file systems from the com-
        puter york.

        Input:

        showmount -a

        Output:

        mountainview:/home/steven
        tokyo:/home/steven

        The file system /home/steven, which is administered by the server
        york, is mounted on the clients mountainview and tokyo.

     3) The system administrator is working on the server york and wants to
        know which file systems are mounted on clients:

        Input:

        showmount -d

        Output:

        /home/steven

        Only the file system /home/steven from the server york has been
        mounted on clients.





Page 2                       Reliant UNIX 5.44                Printed 11/98

showmount(1M)                                                 showmount(1M)

     4) The system administrator is working on the computer york and wants
        to know which file systems have been exported for mounting and for
        whom they have been exported.

        Input:

        showmount -e

        Output:

        export list for york: /home1 (everyone)
        /home dublin

        From the computer york, the file system /home1 has been exported
        for the user group everyone, while the file system /home has been
        exported for the computer dublin.

     5) The network administrator wants to know which clients have mounted
        file systems from the server mountainview.

        Input:

        showmount mountainview

        Output:

        dublin
        york
        portland

        The computers dublin, york, portland have mounted file systems from
        the computer mountainview.

     If the system run of a client which has mounted file systems from a
     server has not been properly terminated, the entry in the file
     /etc/rmtab in the server is not deleted. In other words, the informa-
     tion output by the showmount command is inconsistent.

FILES
     /etc/rmtab
     /etc/dfs/sharetab

SEE ALSO
     uname(1), mountd(1M).










Page 3                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026