mount_nfs.1m (2010 09)
m
mount_nfs(1M) mount_nfs(1M)
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.
actimeo=n Set min and max times for regular files and directories to n seconds.
actimeo has no default; it sets acregmin
, acregmax, acdirmin, and
acdirmax to the value specified by n.
bg | fg If the first attempt fails, retry in the background (
bg), or in the foreground
(
fg), The default is fg
.
devs | nodevs Allow (do not allow) access to local devices. The default is
devs.
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 systems 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 direc-
tory.
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 (intr) or do not allow (nointr) keyboard interrupts to kill a process
that is hung while waiting for a response on a hard-mounted file system. The
default is intr, which allows 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 multiple NFS clients. When nocto is in effect, the client does not per-
form the flush on close and the request for validation, allowing the possibility
of differences among copies of the same file as stored on multiple clients.
This option can be used in situations that guarantee 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.
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010