PRIMEQUEST System Disk Mirror for Windows User's Guide V1.0
Contents PreviousNext

Appendix A Command Reference

A.3 sdxsnap - Collection of information for troubleshooting

Command name

sdxsnap - Collection of information for troubleshooting

 

Synopsis

sdxsnap [-k] [-d dir]
sdxsnap {-h | /?}

 

Description

The sdxsnap command collects information such as PSDM configuration, status, and operation history for troubleshooting.

To use this command, you must be a user with administrator privileges (a user of the Administrators group).

The collected information is compressed in CAB format and saved to a file named sdxsnapradXXXXX.cab (where XXXXX is a variable string that PSDM automatically generates). The file name will be displayed when the command ends.

 

Options

-d dir
Specifies the storage directory for collected information.

The default storage directory is Temp located in the PSDM installation directory.

-k
Collects the kernel log additionally.

If disk free space is insufficient or if the transmittable file size is limited because of communication limitation and so on, do not specify this option to reduce the size of information collected for troubleshooting.

If there is no special reason, this option should be specified.

-h
Shows the usage of the command.

/?
Shows the usage of the command.

 

Exit codes

0 : Normal end
1 : Abnormal end (indicating that the error is not a temporary error and the command will fail even if it is retried after a while)
2 : Abnormal end (indicating that the error is a temporary error and the command may succeed if it is retried after a while)
3 : Abnormal end (indicating that an option was specified incorrectly)

Execute the following command immediately after this command ends to get the exit code.

> echo %ERRORLEVEL%

 

Examples

  1. Collect information for troubleshooting, except the kernel log, to C:\snap.

    > sdxsnap -d C:\snap


  2. Collect information for troubleshooting to \Temp located in the PSDM installation directory.

    > sdxsnap -k



Contents PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2008