HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)
m
mount_nfs(1M) mount_nfs(1M)
actimeo=n Set min and max times for regular files and directories to n seconds.
actimeo
has no default; it sets cregmin, acregmax
, acdirmin, and acdirmax to
the value specified.
bg | fg If the first attempt fails, retry in the background, or, in the foreground. The
default is
fg.
forcedirectio |noforcedirectio
If forcedirectio
is specified, then for the duration of the mount, forced
direct
I/O is used. If the file system is mounted using
forcedirectio
, data
is transferred directly between client and server, with no buffering on the client.
If the file system is mounted using
noforcedirectio, data is buffered on
the client.
forcedirectio
is a performance option that is of benefit only in
large sequential data transfers. The default behavior is
noforcedirectio.
grpid By default, the GID associated with a newly created file obeys the System V
semantics; that is, the GID is set to the effective GID of the calling process. This
behavior can be overridden on a per-directory basis by setting the set-GID bit of
the parent directory; in this case, the GID of a newly created file is set to the
GID of the parent directory (see open(2) and mkdir(2)). Files created on file sys-
tems that are mounted with the
grpid option will obey BSD semantics
independent of whether the set-GID bit of the parent directory is set; that is, the
GID is unconditionally inherited from that of the parent directory.
hard | soft Continue to retry requests until the server responds (hard) or give up and
return an error (soft). The default value is hard.
intr | nointr Allow (do not allow) keyboard interrupts to kill a process that is hung while wait-
ing for a response on a hard-mounted file system. The default is intr, which
makes it possible for clients to interrupt applications that can be waiting for a
remote mount.
llock By default, lock/unlock requests are sent to the server’s
rpc.lockd which
enforces the requests. With this option set, the lock/unlock requests are not sent
to the remote
rpc.lockd and are enforced locally. These local locks are
enforced much faster, but if other NFS clients access the same data on the
server, there is a risk of data corruption. Consequently, this option must be
used when only one NFS client accesses the data on the server.
noac Suppress data and attribute caching. The data caching that is suppressed is the
write-behind. The local page cache is still maintained, but data copied into it is
immediately written to the server.
nocto Do not perform the normal close-to-open consistency. When a file is closed, all
modified data associated with the file is flushed to the server and not held on the
client. When a file is opened the client sends a request to the server to validate
the client’s local caches. This behavior ensures a file’s consistency across multi-
ple NFS clients. When -nocto is in effect, the client does not perform the flush
on close and the request for validation, allowing the possiblity of differences
among copies of the same file as stored on multiple clients.
This option can be used where it can be guaranteed that accesses to a specified
file system are made from only one client and only that client. Under such a
condition, the effect of -nocto can be a slight performance gain.
port=n The server IP port number. The default is NFS_PORT . If the port option is
specified, and if the resource includes one or more NFS URLs, and if any of the
URLs include a port number, then the port number in the option and in the
URL must be the same.
posix Request POSIX.1 semantics for the file system. Requires a mount Version 2
mountd(1M) on the server.
proto=netid netid is a value of network_id field from entry in the /etc/netconfig file.
By default, the transport protocol used for the NFS mount will be first available
connection-oriented transport supported on both the client and the server. If no
connection-oriented transport is found, then the first available connectionless
transport is used. This default behavior can be overridden with the
542 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: February 2007