Red Hat Linux 7 Unleashed

Red Hat Linux 7 Unleashed

By William Ball

Starting and Stopping the NFS Daemons

You might run across instances when you need to stop NFS and restart it later. You can do this by using the startup scripts that are executed at boot time and shutdown. NFS's scripts are in /etc/init.d. To start the NFS services, run the following as root:


   [root@vestax /root]# /etc/init.d/nfs start

To stop NFS services, run the following as root:


   [root@vestax /root]# /etc/init.d/nfs stop

Status of NFS

There are other options that can be used with NFS to do other tasks. For example, you can get a status of NFS by running the following command:


   [root@vestax /root]# /etc/init.d/nfs status

This returns output that is something like this:

rpc.statd (pid 965) is runnning...
rpc.mountd (pid 987) is running...
rpc.nfsd is stopped
nfsd (pid 366) is running...
rpc.rquotad (pid 976) is running...

Share ThisShare This

Informit Network