ssa_diag Command
Purpose
To run diagnostic tests to a specified device.
Syntax
Description
The ssa_diag command is in /usr/lpp/diagnostics/bin.
Flags
-a
|
-u
|
|
-s
Output
If an error occurs, the ssa_diag command generates an error message, for example:
If no error occurs, the command sends no message to stdout.
A non-zero return code indicates an error. The command sends an error message to
stderr.
348
User's Guide and Maintenance Information
Causes the adapter to be reset if the device that is being tested is an adapter.
This flag has no effect if the device is a disk drive.
Forces a disk reservation to be broken if the device the device that is being
tested is a disk drive. This flag has no effect if the device is an adapter, and is
not valid for SSA Enhanced RAID Adapters or Advanced SerialRAID Adapters.
Requests the output of the hardware status of a disk drive. This flag can be
used only with a disk drive. It cannot be used with the -a flag or with the -u
flag. Disk drive status output is:
0
Good: the adapter has initialized the pdisk.
1
Power: the pdisk has detected a loss of redundant power or cooling.
Note: If the pdisk is in a 7133 Model D40 or Model T40, this status
indicates that the enclosure has detected a degraded
environment. Such an environment might be caused by a
power, cooling, or temperature problem, or by an enclosure
hardware failure.
2
Failed: the adapter cannot initialize the pdisk.
, and sends it to stdout.