Configuring an NFS Server for Linux

Each Linux distribution from Timesys comes with a precompiled Linux root filesystem compatible with your target architecture, enabling you to boot your target system over the network using NFS. Although, eventually, you might want to use a small, specific root filesystem for your final product, having access to a complete Linux distribution and tool set for your target system provides you with access to a wide range of Linux software for testing and debugging purposes.

For more information about NFS, see the following:

Restarting the NFS Service

Refer to Exporting a Root Filesystem via NFS to configure the /etc/exports file on the host system. After adding appropriate entries to this file, you will then need to start (or restart) the NFS daemon on your host system, which can usually be accomplished by using the following commands:

# /etc/rc.d/init.d/nfslock restart
# /etc/rc.d/init.d/nfs stop
# /etc/rc.d/init.d/nfs start

You should explicitly stop and then start the NFS service rather than simply restarting it; the nfs restart command restarts only the rpc.mountd wrapper service; it does not restart the mountd and nfsd daemons.


The commands shown in the previous listing are valid for a Red Hat/Fedora Linux system. If you are using another Linux distribution, such as Mandriva, Debian, or Ubuntu, the commands to start, stop, or restart the NFS lock and mount daemons might be different.