Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Enhanced AutoFS Administrator's Guide: HP-UX 11i v1 > Chapter 3 Configuring and Administering AutoFS

Verifying the AutoFS Configuration

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

To verify that AutoFS has been configured correctly, perform the following steps:

  1. To change the current working directory to an automounted directory, issue the following command:

    /usr/bin/cd local_directory

    In the preceding command, local_directory is the configured mount point in the AutoFS map.

  2. To verify that the contents of the remote directory have been mounted under the local mount point, issue the following command:

    /usr/bin/ls

If the directory is configured in an indirect map, issuing the ls command from the parent directory displays potential mount points (browsability). When you change to a subdirectory configured in the indirect map, or issue the ls subdirectory command, the subdirectory is mounted.

Consider that you have the following indirect map configuration:

# /etc/auto_master file
# local mount point         map name             mount options

/nfs/desktop                /etc/auto_desktop
# /etc/auto_desktop file
# local mount point mount options remote server:directory

draw                -nosuid          thyme:/export/apps/draw
write                 -nosuid           basil:/export/write

Considering that you have the preceding configuration, issue the following commands:

cd /nfs/desktop
ls

The output of the last command (ls) is as follows:

draw         write

The ls command displays this output because the draw and write subdirectories are the potential mount points (browsability), but not mounted currently. However, if you issue the following commands, both the draw and write subdirectories are mounted (on-demand mounting):

cd /nfs/desktop/write
cd /nfs/desktop/draw

If AutoFS does not mount your configured directories, see Chapter 4 “Troubleshooting AutoFS”.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2004 Hewlett-Packard Development Company, L.P.