Ssa_diag command, Purpose, Syntax – Compex Systems Advanced SerialRAID Adapters SA33-3285-02 User Manual

Page 368: Description, Flags, Output

Advertising
background image

ssa_diag Command

Purpose

To run diagnostic tests to a specified device.

Syntax

ssa_diag -l pdiskX

ssa_diag -l ssaX

Description

The ssa_diag command is in /usr/lpp/diagnostics/bin.

Flags

-a

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.

-u

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.

-s

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.

Output

If an error occurs, the ssa_diag command generates an error message, for example:

ssa0 SRN 42500

, and sends it to stdout.

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

|
|
|

Advertising