NFS Services Administrator's Guide (B.11.31.03) August 2008
directory. If you are a user on any of the AutoFS clients, you can use maps to access
the /export directory from the NFS server, Basil.
AutoFS clients can access the exported filesystem using any one of the following map
types:
• Direct Map
• Indirect Map
• Special Map
The AutoFS client, Sage, uses a direct map to access the /export directory. Sage
includes an entry similar to the following in its map:
/export Basil:/export
Sage mounts the /export directory on the export mount-point.
The AFS1 client uses an indirect map to access the /export directory. The AFS1 client
includes an entry similar to the following in its map:
/usr / server:/
/export Basil:/export
The AFS1 client mounts the /export directory on the /usr/export mount-point.
The AFS2 client uses a special map to automount the /export directory. The AFS2
client includes an entry similar to the following in its map:
/net -host -nosuid, soft
The AFS2 client mounts the /export directory at the /net/Basil/export location.
Features
This section discusses the features that AutoFS supports on systems running HP-UX
11i v3.
On-Demand Mounting
In HP-UX 11i v3, the filesystems being accessed are mounted automatically. Filesystems
that are hierarchically related to the automounted filesystems are mounted only when
necessary.
Consider the following scenario where the AutoFS master map, /etc/auto_master,
and the direct map, /etc/auto_direct, are on the NFS client, sage. Following are
the contents of the master map, the /etc/auto_master file, which contains a single
direct map entry:
# /etc/auto_master file
# local mount-point map name mount options
/- /etc/auto_direct
Following are the contents of the direct map, /etc/auto_direct, which contains
the local mount-points on the client and the directory on the server:
Features 71