HP B2355-92068 Administration Manual page 603

System administration commands
Table of Contents

Advertisement

mount_nfs(1M)
Options (umount)
recognizes the following options:
umount
-a
Attempt to unmount all file systems described in
in
NFS file systems in
unmounted in the order listed in
-f
Forcibly
system to be unmounted if a file on the file system is busy. Using this option can
cause data loss for open files; programs which access files after the file system has
been unmounted will get an error ([EIO]).
-F nfs
Specify the NFS file system type (see fstyp(1M)).
host
Unmount only those file systems listed in
-h
from host.
-v
Verbose mode. Write a message to standard output indicating which file system is
being unmounted.
-V
Echo the completed command line, but performs no other action. The command line
is generated by incorporating the user-specified options and other information derived
from
NFS File Systems
Background vs. Foreground
File systems mounted with the
server's mount daemon (
specified in the
retry=
kernel waits
timeo=
tiplied by
and the request is retransmitted. When the number of retransmissions has reached the
2
number specified in the
error on the request; one mounted with the
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
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
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
ple, if
bdf
shows:
HP-UX 11i Version 2: December 2007 Update
must be included and supported. If
/etc/mnttab
/etc/mnttab
unmount
a file system. Without this option,
. This option allows the user to verify the command line.
/etc/fstab
option indicate that
bg
mountd
) does not respond.
n option. Once the file system is mounted, each NFS request made in the
n tenths of a second for a response. If no response arrives, the time-out is mul-
n option, a file system mounted with the
retrans=
option. Applications using
actimeo=
/etc/mnttab
− 3 −
/etc/mnttab
-F nfs
are unmounted. File systems are not necessarily
.
/etc/mnttab
umount
/etc/mnttab
is to retry in the background if the
mount
mount
retries the request up to the count
hard
option prints a warning message and continues to
soft
mounted file systems may incur unexpected I/O
n sets flush time to n seconds for both regular files
exactly (as shown by the
Hewlett-Packard Company
mount_nfs(1M)
. All optional fields
option is specified, all
does not allow a file
that are remote-mounted
option returns an
soft
command). For exam-
bdf
603
m

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-ux 11i

Table of Contents