HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)
m
mount_nfs(1M) mount_nfs(1M)
Setting actimeo=0 disables attribute caching on the client. This means that every reference to attributes
is satisfied directly from the server though file data is still cached. While this guarantees that the client
always has the latest file attributes from the server, it has an adverse effect on performance through addi-
tional latency, network load, and server load.
Setting the noac option also disables attribute caching, but has the further effect of disabling client write
caching. While this guarantees that data written by an application is written directly to a server, where it
can be viewed immediately by other clients, it has a significant adverse effect on client write performance.
Data written into memory-mapped file pages are not written directly to this server. See mmap(2).
ERRORS
If [ECONFIG] is returned,
mount_nfs has reached the process thread limit. Increase the value of
nkthread. See nkthread(5) for more details.
EXAMPLES
Example 1: Mounting an NFS File System
To mount an NFS file system:
mount serv:/usr/src /usr/src
Example 2: Mounting NFS File System Read-Only With No suid Privileges
To mount an NFS file system read-only with no suid privileges:
mount -r -o nosuid serv:/usr/src /usr/src
Example 3: Mounting NFS File System Over V2, with the UDP Transport
To mount an NFS file system over Version 2, with the UDP transport:
mount -o vers=2,proto=udp serv:/usr/src /usr/src
Example 4: Mounting NFS File System Using An NFS URL
To mount an NFS file system using an NFS URL (a canonical path):
mount nfs://serv/usr/man /usr/man
Example 5: Mounting With Forcing Use Of The Public File Handle
To mount an NFS file system and force the use of the public file handle and an NFS URL (a canonical path)
that has a non 7-bit ASCII escape sequence:
mount -o public nfs://serv/usr/%A0abc /mnt/test
Example 6: Mounting an NFS File System Using a Native Path
To mount an NFS file system using a native path (where the server uses colons (
:) as the component
separator) and the public file handle:
mount -o public serv:C:doc:new /usr/doc
Example 7: Mounting a Replicated Set with Same Pathnames
To mount a replicated set of NFS file systems with the same pathnames:
mount -r serv-a,serv-b,serv-c:/usr/man /usr/man
Example 8: Mounting a Replicated Set with Different Pathnames
To mount a replicated set of NFS file systems with different pathnames:
mount -r srv-x:/usr/man,srv-y:/var/man,nfs://srv-z/man /usr/man
WARNINGS
If the directory on which a file system is to be mounted is a symbolic link, the file system is mounted on the
directory to which the symbolic link refers, rather than being mounted on top of the symbolic link itself.
FILES
/etc/mnttab Table of mounted file systems
/etc/dfs/fstypes Default distributed file system type
/etc/fstab Table of automatically mounted resources
SEE ALSO
quota(1), rdist(1), fstyp(1M), lockd(1M), mountall(1M), mountd(1M), statd(1M), mkdir(2), mmap(2),
mount(2), open(2), umount(2), mnttab(4), nfssec(5), quota(5), inet(7F), IPv6(7P).
HP-UX 11i Version 3: February 2007 − 5 − Hewlett-Packard Company 545