beautypg.com

3 delete, 1 command line, 2 parameters – Avago Technologies SAS 9207-4i4e Host Bus Adapter User Manual

Page 7: 3 program return value, 4 deletevolume, 5 display, Deletevolume, Delete, Display

background image

LSI Corporation

- 7 -

SAS-2 Integrated RAID Configuration Utility (SAS2IRCU) User Guide

November 2012

Commands

3.3

DELETE

The DELETE command deletes all RAID 0, RAID 1, RAID 10, and RAID 1E Integrated RAID volumes and hot spare drives
from the specified LSI SAS-2 controller. The hot spare is deleted only if it is inappropriate for any of the remaining
volumes. The command does not change any other controller configuration parameters. Use the STATUS command or
the DISPLAY command to determine the volume ID of the volume you want to delete.

3.3.1

Command Line

sas2ircu <controller_#> delete [noprompt]

3.3.2

Parameters

<controller_#> – The index of the controller with the volume or volumes that you want to delete.

[noprompt] – This optional parameter prevents warnings and prompts from appearing while the command is
running.

3.3.3

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.

3.4

DELETEVOLUME

The DELETEVOLUME command deletes a specific RAID 0, RAID 1, RAID 10, or RAID 1E volume and the associated hot
spare drives on the specified controller. The hot spare is deleted only if it is inappropriate for any of the remaining
volumes. No other controller configuration parameters are changed.

3.4.1

Command Line

sas2ircu <controller_#> deletevolume <volumeID> [noprompt]

3.4.2

Parameters

<controller_#> – The index of the controller with the volume or volumes that you want to delete.

<volumeID> – The volumeID of the specific IR volume that you want to delete.

[noprompt] – This optional parameter prevents warnings and prompts from appearing while the command is
running.

3.4.3

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.

3.5

DISPLAY

The DISPLAY command displays information about LSI SAS-2 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.

3.5.1

Command Line

sas2ircu <controller_#> display [filename]