<< Back to shouce.jb51.net

4.3. Configuring the NFS Server

The shared read-only part of the operating system is shared via NFS.

Configure NFS to export the root/ and snapshot/ directories by adding them to /etc/exports. For example:

/diskless/i386/RHEL4-AS/root/     *(ro,sync,no_root_squash)
/diskless/i386/RHEL4-AS/snapshot/ *(rw,sync,no_root_squash)

Replace * with one of the hostname formats discussed in Section 22.3.2 Hostname Formats. Make the hostname declaration as specific as possible, so unwanted systems can not access the NFS mount.

If the NFS service is not running, start it:

service nfs start

If the NFS service is already running, reload the configuration file:

service nfs reload