Operation Manual

For further reference, read the man page of idmapd and idmapd.conf; man
idmapd, man idmapd.conf.
Starting and Stopping Services
After changing /etc/exports or /etc/sysconfig/nfs, start or restart the
NFS server service with rcnfsserver restart. After changing /etc/idmapd
.conf, reload the conguration le with the command killall -HUP
rpc.idmapd.
If the NFS service needs to start at boot time, run the command chkconfig
nfsserver on.
26.5.2 Exporting File Systems with NFSv2
and NFSv3
This section is specic to NFSv3 and NFSv2 exports. Refer to Section 26.4.1, “Exporting
for NFSv4 Clients” (page 422) for exporting with NFSv4.
Exporting le systems with NFS involves two conguration les: /etc/exports
and /etc/sysconfig/nfs. A typical /etc/exports le entry is in the format:
/shared/directory host(list_of_options)
For example:
/export 192.168.1.2(rw,sync)
Here, the directory /export is shared with the host 192.168.1.2 with the option
list rw,sync. This IP address can be replaced with a client name or set of clients using
a wild card (such as *.abc.com) or even netgroups.
For a detailed explanation of all options and their meaning, refer to the man page of
exports (man exports).
After changing /etc/exports or /etc/sysconfig/nfs, start or restart the
NFS server using the command rcnfsserver restart.
428 Reference