HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
m
mount_nfs(1M) mount_nfs(1M)
server’s mount daemon (mountd(1M)) does not respond.
mount retries the request up to the count
specified in the
retry=n option. Once the file system is mounted, each NFS request made in the
kernel waits
timeo=n tenths of a second for a response. If no response arrives, the time-out is mul-
tiplied by 2 and the request is retransmitted. When the number of retransmissions has reached the
number specified in the retrans=n option, a file system mounted with the
soft option returns an
error on the request; one mounted with the
hard option prints a warning message and continues to
retry the request.
Hard vs. Soft
File systems that are mounted read-write or that contain executable files should always be mounted
with the
hard option. Applications using soft
mounted file systems may incur unexpected I/O
errors.
To improve NFS read performance, files and file attributes are cached. File modification times get
updated whenever a write occurs. However, file access times may be temporarily out-of-date until the
cache gets refreshed. The attribute cache retains file attributes on the client. Attributes for a file are
assigned a time to be flushed. If the file is modified before the flush time, then the flush time is
extended by the time since the last modification (under the assumption that files that changed
recently are likely to change soon). There is a minimum and maximum flush time extension for regu-
lar files and for directories. Setting
actimeo=n sets flush time to n seconds for both regular files
and directories.
EXAMPLES
To mount an NFS file system:
mount serv:/usr/src /usr/src
To mount an NFS file system readonly with no suid privileges:
mount -r -o nosuid serv:/usr/src /usr/src
To mount an NFS file system over Version 3:
mount -o vers=3 serv:/usr/src /usr/src
To unmount all file systems imported from a given host, enter the following command as root:
umount -h mysystem.home.work.com -a
The hostname must match what is in /etc/mnttab exactly (as shown by the bdf command). For exam-
ple, if
bdf shows:
mysystem:/projects
,
the
umount command would be
umount -h mysystem -a.
FILES
/etc/mnttab table of mounted file systems.
/etc/fstab list of default parameters for each file system.
SEE ALSO
quota(1), fsclean(1M), fstyp(1M), mount(1M), mountd(1M), quotaon(1M), mkdir(2), mount(2), open(2),
fstab(4), mnttab(4), fs_wrapper(5), quota(5)
STANDARDS CONFORMANCE
mount: SVID3
umount: SVID3
Section 1M−−520 Hewlett-Packard Company − 3 − HP-UX 11i Version 1: September 2005