NFS Services Administrator's Guide
Configuring and Administering NFS Services
Configuring and Administering an NFS Server
Chapter 2 53
When NFS is restarted or the system is rebooted, the
/etc/dfs/dfstab file is read and all directories are shared
automatically.
2. Share all the directories configured in the /etc/dfs/dfstab file
without restarting the server by using the following command:
shareall
This command reads the entries in the /etc/dfs/dfstab file and
shares all the directories.
3. Verify that your filesystem is shared by entering the following
command:
share
An output similar to the following output is displayed:
/home rw=Developers, ro= "home dirs"
All the directories that you have shared must be present in this list.
Manual Share To share your directories manually, follow these steps:
1. Enter the following command to add a directory to the server’s
internal list of shared directories:
share -F nfs
directory_name
2. Enter the following command to verify if your filesystem is shared:
share
An output similar to the following output is displayed:
/tmp rw=hpdfs001.cup.hp.com ““
/mail rw ““
/var rw ““
The directory that you have shared must be present in this list.
For more information on the share command and a list of share options,
see share_nfs (1M) and share (1M).