Make sure you have met the prerequisites listed in "Prerequisites".
Make sure the file system is available from a server.
To mount an NFS file system, it must be made available from the server system. The share(1M) command creates a list of file systems on a server that can be shared across the network. See NFS Administration Guide for information on how to share file systems.
Mount the NFS file system.
# mount -F nfs [-o mount-options] server:/directory mount-point |
-o mount-options |
Specifies mount options that you can use to mount a NFS file system. See Table 28-2 for the list of general mount options or mount_nfs(1M) for a complete list of options. |
server:/directory |
The server's host name on which the file system is mounted, and the name of the file system to mount. |
mount-point |
The directory where the file system is mounted. |
In this example, packages from the server pluto in the directory /export/packages are mounted on /mnt.
# mount -F nfs pluto:/export/packages /mnt |