Technical data

NFS Client
21.4 Mounting Files and Directories
For example:
TCPIP> MOUNT mount_point /HOST="host" /PATH="/path/name"
Note
By default, a mount is considered a system mount and privileges are
required unless the /SHARE qualifier is used. See Section 21.4.1 for
information on user-level mounting.
When you issue a MOUNT command, the NFS client creates a new DNFS device
and mounts the remote file system onto it. For example, the following command
mounts, onto local device DNFS2:, the remote directory
/usr/users/curlew
,
which physically resides on NFS server
loon
.
TCPIP> MOUNT DNFS2: /HOST="loon" /PATH="/usr/users/curlew"
After entering the command, a confirmation message such as the following is
displayed:
%DNFS-S-MOUNTED, /users/curlew mounted on DNFS2:[000000]
If you specify DNFS0 in a mount command, the client selects the next available
unit number for you, for example:
MOUNT DNFS0:/HOST="loon" /PATH="/usr/curlew"
%DNFS-S-MOUNTED, /usr/curlew mounted on DNFS3:[000000]
Qualifiers to the MOUNT command let you modify the way a traditional mount
occurs. For example, you may specify background mounting, modify existing
mounts, or hide subdirectories from view. See the following sections for more
information:
User-level mounting (Section 21.4.1)
Automounting (Section 21.4.2)
Background mounting (Section 21.4.3)
Overmounting (Section 21.4.4)
Occluded mounting (Section 21.4.5)
See the Compaq TCP/IP Services for OpenVMS Management Command Reference
manual for a complete list of MOUNT options and command qualifiers.
21.4.1 User-Level Mounting
The NFS client supports shared mounting by using the /SHARE qualifier with
the MOUNT command. Any user can mount a file system using the /SHARE
qualifier—SYSNAM or GRPNAM privileges are not required. The /SHARE
qualifier places the logical name in the job logical name table and increments the
volume mount count, regardless of the number of job mounts. When the job logs
out, all job mounts are dismounted, which causes the volume mount count to be
decremented.
The following example illustrates how to specify a shared mount:
TCPIP> MOUNT DNFS1: /HOST=BART /PATH="/DKA100/ENG"
TCPIP> MOUNT DNFS1: /HOST=BART /PATH="/DKA100/ENG" /SHARE
21–8 NFS Client