z/OS Network File System Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Stopping the z/OS NFS server

z/OS Network File System Guide and Reference
SC23-6883-00

When shutting down your system, follow these sequential steps.

  1. Stop the z/OS NFS server
  2. Shut down the TCP/IP server
  3. Shut down z/OS UNIX if it is running

Use the stop command to shut down the z/OS NFS server. All current input/output (I/O) operations are completed and all OPEN data sets are closed. The z/OS NFS Server synchronizes or flushes any unwritten data to the MVS data sets or PDS/PDSE members. It writes null-data to represent the missing data that the Client did not write along with any partially received data. This command can be entered at any time. Enter the command as follows, where mvsnfs is the name of the procedure in your system PROCLIB used to start up the server.

Read syntax diagramSkip visual syntax diagram
>>-STOP--mvsnfs------------------------------------------------><

You can also shut down the server by entering the modify command.
Read syntax diagramSkip visual syntax diagram
>>-+-MODIFY-+--mvsnfs,stop-------------------------------------><
   '-F------'                

The operator’s console displays messages like the following:

GFSA329I SERVER SHUTDOWN IN PROGRESS.
GFSA814I (MVSNFS) Begin synchronizing 1 opened data sets or members. 
GFSA828I (MVSNFS) Synchronize offset 0x0000000000000000 for 2 write blocks of IBMUSER.PS2.
GFSA330I SERVER SHUTDOWN COMPLETE.
$HASP395 MVSNFS   ENDED    
The synchronization processing may take quite some time if a large amount of data must be written to disk. If the NFS Server must be stopped immediately or if the synchronization process must be aborted, the modify SHUTDOWN operator command can be entered after the STOP command. However, note that all unwritten data will be dropped and discarded. The z/OS NFS Server will display the list of incomplete MVS data sets or PDS/PDSE data sets and member names that must be rewritten after the z/OS NFS Server is restarted.
Read syntax diagramSkip visual syntax diagram
>>-+-MODIFY-+--mvsnfs,SHUTDOWN---------------------------------><
   '-F------'                    

The operator’s console displays messages like the following:

GFSA329I (MVSNFS) SERVER SHUTDOWN IN PROGRESS.
GFSA814I (MVSNFS) Begin synchronizing 3 opened data sets or members. 
GFSA828I (MVSNFS) Synchronize offset 0x0000000000000000 for 2 write blocks of IBMUSER.PS2.
F mvsnfs,SHUTDOWN
GFSA831E (MVSNFS) Abort synchronizing IBMUSER.PS2.
GFSA831E (MVSNFS) Abort synchronizing IBMUSER.RRDSBIN.              
GFSA831E (MVSNFS) Abort synchronizing IBMUSER.PDSE(PDSETEXT).       
GFSA330I (MVSNFS) SERVER SHUTDOWN COMPLETE.
$HASP395 MVSNFS ENDED  

The modify SHUTDOWN operator command can be issued at any time. It can replace the STOP command or the modify STOP operator command without the synchronization processing. All unwritten data will be dropped or discarded.

The operator’s console displays messages like the following:

F mvsnfs,SHUTDOWN  
GFSA329I (MVSNFS) SERVER SHUTDOWN IN PROGRESS.
GFSA814I (MVSNFS) Abort synchronizing 3 opened data sets or members. 
GFSA831E (MVSNFS) Abort synchronizing IBMUSER.PS2.
GFSA831E (MVSNFS) Abort synchronizing IBMUSER.RRDSBIN.              
GFSA831E (MVSNFS) Abort synchronizing IBMUSER.PDSE(PDSETEXT).       
GFSA330I (MVSNFS) SERVER SHUTDOWN COMPLETE.
$HASP395 MVSNFS ENDED

The z/OS NFS Server allows only the modify SHUTDOWN operator command after either the STOP command or the modify STOP operator command is entered. All other modify operator commands (except SHUTDOWN) are disallowed after STOP is issued.

As a last resort, you can cancel the server by entering the cancel command.

Read syntax diagramSkip visual syntax diagram
>>-CANCEL--mvsnfs----------------------------------------------><

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014