Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The End Network File System Server (ENDNFSSVR) command ends one or all of the NFS server daemons. For more information about these daemon jobs, see Network File System book, SC41-5714.
SERVER(*ALL) should be specified, which will end the daemons in the following order. (This order is the recommended order for ending the Network File System daemons.)
If just one daemon is to be ended, be sure the appropriate order for ending NFS daemons and the possible consequences of ending daemons in an order other than that specified above are understood. For more information about ending NFS daemons, see the Network File System book, SC41-5714.
If the user attempts to end a daemon or daemons that are not running, they will not cause the command to fail, and it will continue to end other daemons that were requested to end.
To determine if an NFS daemon is running, use the Work with Active Jobs (WRKACTJOB) command and look in the subsystem QSYSWRK for existence of the following jobs:
QNFSRPCD The RPCBind daemon QNFSBIOD The block I/O (BIO) daemon QNFSNFSD The server (SVR) daemon QNFSMNTD The mount (MNT) daemon QNFSNSMD The network status monitor (NSM) daemon QNFSNLMD The network lock manager (NLM) daemon
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SERVER | Server daemon | *ALL, *RPC, *BIO, *SVR, *MNT, *NSM, *NLM | Required, Positional 1 |
ENDJOBTIMO | Timeout for end of daemon | 1-3600, 30, *NOMAX | Optional, Positional 2 |
Top |
Specifies the Network File System (NFS) daemon jobs to be ended.
This is a required parameter.
Top |
Specifies the number of seconds to wait for each daemon to successfully end. If a daemon has not ended within the timeout value, the command will fail.
Top |
Example 1: End All Daemons
ENDNFSSVR SERVER(*ALL)
This command ends all NFS daemon jobs that are running.
Example 2: End a Single Daemon
ENDNFSSVR SERVER(*MNT) ENDJOBTIMO(*NOMAX)
This command ends the NFS mount daemon, and waits forever for it to end. The mount daemon was previously running, and other daemons have been ended in the appropriate order.
Top |
*ESCAPE Messages
Top |