SAS2 Integrated RAID Solution User Guide
Appendix A:
|
Commands
LSI Corporation Confidential
|
August 2010
Page 35
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.3 DELETE Command
The DELETE command deletes all of the Integrated RAID volumes and hot spare drives
from the specified LSI SAS2 controller. The command does not change any other
controller configuration parameters.
Command Line
sas2ircu <
controller_#
> delete [noprompt]
Parameters
<
controller_#
>
– The index of the controller with the volume(s) that you want
to delete.
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.
A.3.4 DISPLAY Command
The DISPLAY command displays information about LSI SAS2 controller configurations,
including controller type, firmware version, BIOS version, volume information, physical
drive information, and enclosure. See the following Sample Output example.
The physical device information section displays the duplicate device of a dual-port
SAS drive.
Command Line
sas2ircu <
controller_#
> display [
filename
]
Parameters
<
controller_#
>
– The index of the controller for which you want to
display information.
[
filename
]
– An optional valid filename to store the command output to a file.
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.