Chapter Contents |
Previous |
Next |
Installing and Administering the NFS Client |
In addition to the commands described in Using the NFS Client, as an NFS administrator you should be familiar with the SHOWMNT and RPCINFO commands as they are described in the following section.
SHOWMNT |
queries an NFS server for file system information
SHOWMNT [-e] [-d] [-a] [host]
SHOWMNT handles two basic types of lists. The first
is an exports list. The exports list tells you which file systems can be mounted.
The second is a list describing which mounts have actually taken place. The
form of the second list depends on the -d
and -a
options. The -e
option requests the exports list. This
includes information about which hosts are authorized to mount the listed
file systems. This information may either be everyone, or a list of group
names that represent a set of hosts. If it is authorized, a host may mount
any of the listed file systems.
SHOWMNT -e
If the -e
option is used in conjunction with other options, this exports list will be
printed first, followed by the list describing actual mounts.
If you specify the -d
option, SHOWMNT prints the list of actual mounts, showing
only the names of directories that have been mounted. The list is sorted by
directory name.
The -a
option gives the most verbose format for the list of actual mounts. It indicates
that the list should be printed as host:directory pairs. If you do not use
the -d
option, SHOWMNT sorts
the list by host. If you do use the
-d
option, SHOWMNT sorts
the list by directory.
showmnt -e byrd.unx
Show mountable file systems on the byrd.unx NFS server.
showmnt byrd.unxShow the list of other hosts that have mounted the NFS file system from byrd.unx.
RPCINFO |
host
]
port
]
-u host program
[version
]
port
]
-t host program
[version
]
program
version
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.