NDMP debug messages provide a detailed description of all active NDMP sessions. The amount of information displayed by a debug message is determined by the ndmpd debug level specified by the user. By default, debug messages are disabled.
Debug messages can be output to the filer console, the NDMP session log file, or both. The ndmpd debug command is used to specify where debug messages will be output. By default, debug messages are output to both the filer console and the NDMP session log.
NDMP session log files are stored in the /etc/log directory. The file name is ndmplog.yyyymmdd, where yyyy is the year, mm is the month, and dd is the date. For example, the session log file generated on December 5, 2000, is named ndmplog.20001205. The session log file can contain information about one or more NDMP sessions. If multiple NDMP sessions take place on the same day, Data ONTAP saves the information about all sessions to the same session log file. Before generating a fresh NDMP session log file, Data ONTAP deletes all files more than eight days old. Data ONTAP keeps a maximum of eight session log files: one each for the past seven days plus the current day.
To enable NDMP debug logging, complete the following step.
To see the NDMP debug levels currently set, complete the following step.
| 1 |
ndmpd debug Result |
filerA> ndmpd debug
ndmpd debug verbose: 0
ndmpd debug stack trace: false
ndmpd debug screen trace: true
ndmpd debug file trace: true
You use the ndmp debug command to choose whether to display the debug messages on the filer console, to write the debug messages into the NDMP debug log file, and to print out stack traces for any exceptions issued by the NDMP server implementation. To toggle these options, complete the following step:
| 1 |
ndmpd debug stack|screen|trace stack toggles stack trace printouts on or off. |
To display an NDMP session log file, complete the following step.
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00325
File: ndmp10.htm
Last updated: 01/14/03 17:51:43