NFS Services Administrator's Guide (B1031-90072, March 2011)

Using LDAP
For more information on managing user profiles using LDAP, see the LDAP-UX Client Services
B.04.00 Administrator’s Guide (J4269-90064).
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 describes the NFS configuration files and their functions.
Table 2 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 3 describes the NFS server daemons.
Table 3 NFS Server Daemons
FunctionDaemon Name
Answers requests for NFS access information and filesystem mount requests. The
rpc.mountd daemon 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
Configuring and Administering an NFS Server 19