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

m
mount_nfs(1M) mount_nfs(1M)
behavior may 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 inher-
ited from that of the parent directory.
rsize=n Set the read buffer size to n bytes. The default value is set by kernel.
wsize=n Set the write buffer size to n bytes. The default value is set by kernel.
timeo=n Set the NFS timeout to n tenths of a second. The default value is set by kernel.
retrans=n Set the number of NFS retransmissions to n. The default value is
5.
soft | hard Return an error if the server does not respond, or continue the retry request until the
server responds. The default value is hard.
intr | nointr
Allow (do not allow) keyboard interrupts to kill a process that is hung while waiting
for a response on a hard-mounted file system. The default is intr.
noac Suppress attribute caching.
nocto Suppress fresh attributes when opening a file.
forcedirectio
If forcedirectio is specified, then for the duration of the mount, forced direct I/O
is used. If the filesystem is mounted using
forcedirectio
, data is transferred
directly between client and server, with no buffering on the client.
forcedirec -
tio
is a performance option that is of benefit only in large sequential data transfers.
Running applications and mapping memory with mmap() are not supported over
forcedirectio mount points. The default behavior is no forcedirectio
.
devs | nodevs
Allow (do not allow) access to local devices. The default is devs.
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.
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.
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 corrup-
tion. Consequently, this option must be used when only one NFS client accesses the
data on the server.
readdir Disable the READDIRPLUS functionality, which is used by default on an NFS v3
mount point, and use the NFS v2 READDIR functionality instead. The performance
of applications that read huge directories over NFS will vary between v2 and v3
depending on the type of information they need. The find command will be faster
using the v3 READDIRPLUS while the ls command will be faster using the v2 READ-
DIR
. This option must be used on a case by case basis. It has no effect on a v2 mount
point.
-O Overlay mount. Allow the file system to be mounted over an existing mount point, making the under-
lying file system inaccessible. If a mount is attempted on a pre-existing mount point without setting
this flag, the mount will fail, producing the error device busy.
602 Hewlett-Packard Company 2 HP-UX 11i Version 2: December 2007 Update