mount_nfs.1m (2010 09)
m
mount_nfs(1M) mount_nfs(1M)
}
RETURN VALUE
mount_nfs returns the following values:
0 Successful completion.
>0 An error occurred. See the ERRORS section.
ERRORS
If error code 157 [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 NFS Version 2 with the UDP Transport
To mount an NFS file system over NFS 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), mount(2), mkdir(2),
mmap(2), mount(2), open(2), umount(2), mnttab(4), nfssec(5), quota(5), inet(7F), IPv6(7P).
8 Hewlett-Packard Company − 8 − HP-UX 11i Version 3: September 2010