HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

m
mount_nfs(1M) mount_nfs(1M)
NAME
mount_nfs: mount, umount - mount and unmount remote NFS resources
SYNOPSIS
/sbin/fs/nfs/mount
[-F nfs | nfs3][
-drqOV][-o specific_options] resource mount_point
/sbin/fs/nfs/umount -a
[-df]
/sbin/fs/nfs/umount
[-df]{resourcemount_point}
DESCRIPTION
The
mount utility attaches a named resource to the file system hierarchy at the pathname location
mount_point, which must already exist. If mount_point has any contents prior to the
mount operation,
the contents remain hidden until the resource is once again unmounted.
Only a superuser can mount file systems.
The
umount utility unmounts mounted file systems.
Only a superuser can unmount file systems.
resource can be of the form:
host:pathname
Where host can be the name of the NFS server host, or an IPv4 or IPv6 address string. As IPv6
addresses already contain colons, enclose host in a pair of square brackets when specifying an
IPv6 address string. Otherwise, the first occurrence of a colon can be interpreted as the separa-
tor between the host name and path; for example:
[1080::8:800:200C:417A]:tmp/file
.
See IPv6(7P).
pathname is the path name of the directory on the server being mounted. The path name is
interpreted according to the server’s path name parsing rules and is not necessarily slash-
separated, though on most servers, this is the case.
nfs://host[:port]/pathname
This is an NFS URL and follows the standard convention for NFS URL as described in NFS
URL, RFC 2224. See the discussion of URL’s and the
public option under section NFS FILE
SYSTEMS below for a more detailed discussion.
A comma-separated list of:
nfs://host[:port]/pathname or host:pathname. See the discussion on Replicated File Sys-
tems and Failover under NFS FILE SYSTEMS for a more detailed discussion.
A comma-separated list of:
hosts followed by a
:pathname suffix. See the discussion on Replicated File Systems and Fail-
over under NFS FILE SYSTEMS for a more detailed discussion.
Options (mount)
See mount(1M) for the description of the -rFV options. Note that the -F option only accepts either
nfs
or nfs3. nfs3 forces the use of NFSv3 unless the vers= option is used.
-d Print debug messages to stderr. This option is to be used by HP support engineers.
-o specific_options
Set file system specific options according to a comma-separated list with no intervening spaces.
acdirmax=n Hold cached attributes for no more than n seconds after directory update. The
default value is 60.
acdirmin=n Hold cached attributes for at least n seconds after directory update. The default
value is 30.
acregmax=n Hold cached attributes for no more than n seconds after file modification. The
default value is 60.
acregmin=n Hold cached attributes for at least n seconds after file modification. The default
value is 3.
HP-UX 11i Version 3: February 2007 1 Hewlett-Packard Company 541