SAS2 Integrated RAID Solution User Guide
Appendix A:
|
Commands
LSI Corporation Confidential
|
August 2010
Page 41
A.3.11 LOCATE Command
The LOCATE command locates a specific drive in a volume by turning on its location
indicator and flashing its LED.
Command Line
sas2ircu <
controller_#
> locate <
Enclosure:Bay
> <
action
>
Parameters
<
controller_#
>
– The index of the controller with the drives that you need
to locate.
<
Enclosure:Bay
>
– The enclosure and bay number of the drive.
<
action
>
– The possible actions are as follows:
—
ON
– Turn on the location indicator of the drive.
—
OFF
– Turn off the location indicator of the drive.
Program Return Value
0x00
SUCCESS: Command completed successfully.
0x01
FAILURE: Bad command-line arguments or operational failure.
0x02
ADAPTER_NOT_FOUND: Cannot find specified adapter.
A.3.12 LOGIR Command
The LOGIR command uploads or clears the Integrated RAID log information.
Command Line
sas2ircu <
controller_#
> logir <
action
> [
filename
] [noprompt]
Parameters
<
controller_#
>
– The index of the controller with the logs that you need to
upload or clear.
<
action
>
– The possible actions are as follows:
—
UPLOAD
– Upload the controller logs to a file.
—
CLEAR
– Clear the controller logs.
filename
– This optional parameter specifies the filename where the logs must
be uploaded. The default filename is
LOGIR.LOG
.
noprompt
– This optional parameter prevents warnings and prompts from
appearing while the command is running.
Program Return Value
0x00
SUCCESS: Command completed successfully.
0x01
FAILURE: Bad command-line arguments or operational failure.
0x02
ADAPTER_NOT_FOUND: Cannot find specified adapter.