NFS Services Administrator's Guide (B.11.31.02) January 2008
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
FunctionFile Name
Contains the variables read by the start-up scripts of the NFS subsystem.
/etc/rc.config.d/nfsconf
Contains the PC NFS configuration information.
/etc/pcnfsd.conf
Contains the parameters to set the default behavior of various NFS
commands and daemons.
/etc/default/nfs
Contains the share commands that are executed when the NFS server
subsystem starts.
/etc/dfs/dfstab
Contains the distributed filesystem types. The default filesystem is NFS.
/etc/dfs/fstypes
Contains the valid and supported NFS security modes.
/etc/nfssec.conf
Contains the system record of shared filesystems.
/etc/dfs/sharetab
Contains all the entries for hosts that have mounted filesystems from
any system.
/etc/rmtab
Daemons
Table 2-2 describes the NFS server daemons.
Table 2-2 NFS Server Daemons
FunctionDaemon Name
Answers requests for NFS access information and filesystem mount requests. The
mountddaemon reads the /etc/dfs/sharetab file to determine which filesystems
are available for mounting and by which remote systems.
rpc.mountd
Handles client filesystem requests. By default, nfsd starts over TCP, TCP6, UDP, and
UDP6 transports.
nfsd
Flushes nfslog information from the kernel to a file.nfslogkd
Maps to and from NFSv4 owner and owner group identification attributes to local
UID and GID numbers used by both NFSv4 client and server.
nfsmapid
Supports server side delegation.
nfs4srvkd
Configuring and Administering an NFS Server 23