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


z/OS NFS server debug trace capture

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

The z/OS NFS server records z/OS NFS debug trace diagnostic information to the z/OS component trace buffer. z/OS NFS error and informational messages are also recorded to the z/OS component trace buffer or to the server log data sets. When recording debug trace diagnostic information, IBM recommends that the z/OS component trace buffer be used to minimize the performance impact of collecting these extra diagnostics. To record z/OS NFS server debug trace diagnostic information in the z/OS component trace buffer, see Using z/OS component tracing.

To record z/OS NFS server debug trace diagnostic information in the CTRACE buffer, use the MODIFY operator command with the LOG=msgtype trace option. To start NFS server debug trace recording from the console, enter:
MODIFY mvsnfs,LOG=msgtype 
where mvsnfs is the name of the z/OS NFS procedure in the PROCLIB and msgtype is ERROR, WARN, or INFO.

The trace records are buffered in storage. The current buffers must be flushed to disk and then the log data sets must be swapped. After swapping, the desired log data set must be copied to disk before it is overwritten by toggling back to the previous log data set by the automatic toggle mechanism.

To flush the remaining z/OS NFS buffers to disk, enter the following console command:
MODIFY mvsnfs,FLUSHLOG
where mvsnfs is the name of the z/OS NFS procedure in the PROCLIB.

This command enables a TSO/E user to browse all the log records that have been written by the Network File System.

To swap z/OS NFS server debug trace recording to the next log data set from the USS command line, issue:
MODIFY mvsnfs,SWITCHLOG
where mvsnfs is the name of the z/OS NFS procedure in the PROCLIB.
To end z/OS NFS Server debug trace recording, enter the following console command:
MODIFY mvsnfs,LOG=INFO   
where mvsnfs is the name of the z/OS NFS procedure in the PROCLIB.
To clear (reset) the server log data sets, enter the following console command:
MODIFY mvsnfs,INITLOG  
where mvsnfs is the name of the NFS procedure in the PROCLIB.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014