Displaying server mount information–showmount
Use the showmount command to display the
remote NFS server mount information. If you omit the options, the
default option displays hostnames of all remote mounts from the hostname NFS
server. If you omit the hostname parameter, then the local
hostname is used.
The following showmount command displays all remote mounts in the
format hostname:directory from the local hostname
NFS server.
showmount -a
showmount -d The following example shows the
output from the showmount command using the -a option to display all
mounts in the format hostname:directory from the hostname mvshost.# showmount -a mvshost
mvshost.sanjose.ibm.com:/IBMUSER
usera.sanjose.ibm.com:/USER2
The following example shows the output from the showmount command
using the -d option to display only the directory names of all mounts
from the hostname mvshost.
# showmount -d mvshost
/IBMUSER
/USER2
The following example shows the output from the showmount command
with no option specified To only display the hostnames of all remote
mounts from the hostname mvshost.
# showmount mvshost
mvshost.sanjose.ibm.com
usera.sanjose.ibm.com
The following example shows the output from the showmount command
using the -e option to display the exported directories from the hostname aix_server1.
USER1:/u/user1:>showmount -e aix_server1
Export list for host aix_server1:
/home/u/guest/test (everyone)
/usr/lpp/info (everyone)
/tmp (everyone)
The following example shows the output from the showmount command
using the -e option to display the exported directories from the hostname mvshost.
In this case, mvshost has the site attribute set to security(none).
# showmount -e mvshost
No exported file systems for host MVSHOST
The following examples shows the output from the showmount command
using the -e option to display the exported directories from the hostname mvshost.
In this case, mvshost has the site attribute set to security(safexp).
# showmount -e mvshost
Export list for host MVSHOST:
/IBMUSER user1