NFS is started automatically by a start script when the POSIX subsystem is started, and is stopped by a stop script when the POSIX subsystem stops.
At startup time, all resources entered in the /etc/dfs/dfstab file with the -F nfs option are made available (see "Administration files").
However, you can also start or stop NFS manually if necessary.
Starting NFS manually
Authorization: Root authorization is required for starting NFS.
Start the POSIX shell and run the start script:
|
In this case, the daemons run with the same task properties (task type, CPU limit) as the POSIX shell has. Alternatively, you can let the init process (PID 1) start NFS. Then the daemons run with the same task properties as the init process. The shell command for this type of NFS start is:
$ kill -s TRAP 1
All daemons are started automatically when NFS is started. All NFS resources according to the /etc/dfs/dfstab file are made available. Following command can be entered in order to mount NFS resources predefined in /etc/vfstab with automount=yes:
|
Terminating NFS manually
Authorization: Root authorization is required for terminating NFS.
NFS is terminated by calling the stop script:
|
When NFS is terminated, the availability of resources is revoked, all file systems of type nfs are unmounted and all daemons are terminated.