NFS Services Administrator's Guide

Configuring and Administering NFS Services
Configuring and Administering an NFS Server
Chapter 246
Configuring and Administering an NFS
Server
Configuring an NFS server involves completing the following tasks:
1. Identify the set of directories that you want the NFS server to share.
For example, consider an application App1 running on an NFS client.
Application App1 requires access to the abc filesystem in an NFS
server. NFS server should share the abc filesystem. The decision of
sharing directories by an NFS server is driven by the applications
running on NFS clients that require access to those directories.
2. Specify access restrictions and security modes for the shared
directories. For example, you can use Kerberos (a security product)
that is already configured on your system to specify access
restrictions and security modes for the NFS shared directories.
NFS Configuration Files and Daemons
This section describes the NFS configuration files and daemons.
Configuration
Files
Table 2-1 describes the NFS configuration files and their functions.
Table 2-1 NFS Server Configuration Files
File Name Function
/etc/rc.config.d/nfsconf Contains the variables read by the start-up scripts
of the NFS subsystem.
/etc/pcnfsd.conf Contains the PC NFS configuration information.
/etc/default/nfs Contains the parameters to set the default
behavior of various NFS commands and daemons.
/etc/dfs/dfstab Contains the share commands that are executed
when the NFS server subsystem starts.
/etc/dfs/fstypes Contains the distributed filesystem types. The
default filesystem is NFS.