Viewing the log files
The following logs are available on a WORM storage server:
The Media Server Deduplication Pool (MSDP) logs
These files include the logs for the spad, spoold, ocsd, and vpfsd services.
The system logs
These files include the logs in the
/mnt/nblogsdirectory, which includes the logs related to instance management and certificates.
Use the following procedures to view or search the log files from the deduplication shell.
To view information about the files
- Open an SSH session to the server.
- Run one of the following commands:
support MSDP-log ls [dir=<directory>]
support syslogs ls [dir=<directory>]
Where [dir=<directory>] is an optional parameter to specify the directory that you want to view the files from. For example:
support MSDP-log ls dir=spoold
To view a file
- Open an SSH session to the server.
- Do one of the following:
To view an entire file, run one of the following commands:
support MSDP-log cat file=<file>
support syslogs cat file=<file>
Where <file> is the file name of the file that you want to view.
To view the last 10 lines of a file, run one of the following commands:
support MSDP-log tail file=<file>
support syslogs tail file=<file>
Where <file> is the file name of the file that you want to view.
To search a file
- Open an SSH session to the server.
- Run one of the following commands:
support MSDP-log grep file=<file> pattern=<keyword>
support syslogs grep file=<file> pattern=<keyword>
Where <file> is the file name of the file that you want to search and <keyword> is the naming pattern that you want to search for. For example:
support MSDP-log grep file=spad* pattern=sessionStartAgent