A.3.2.1 command line, A.3.2.2 parameters, A.3.2.3 program return value – Avago Technologies SAS 9300-4i Host Bus Adapter User Manual

Page 33: A.3.3 delete, A.3.3.1 command line, A.3.3.2 parameters, A.3.3.3 program return value, A.3.4 deletevolume, A.3.4.1 command line, A.3.3 delete a.3.4 deletevolume

Advertising
background image

LSI Corporation

- 33 -

SAS-3 Integrated RAID Solution User Guide
November 2012

Appendix A: Using the SAS-3 Integrated RAID Configuration Utility

Commands

A.3.2.1

Command Line

sas3ircu <controller_#> create <volume_type> <size> {<Enclosure:Bay>}
[VolumeName] [noprompt]

A.3.2.2

Parameters

<controller_#> – The index of the controller for the newly created volume.

<volume_type> – Volume type for the new volume. Valid values are RAID0, RAID1, RAID10, or RAID1E.

<size> – Size of the RAID volume in MB, or MAX for the maximum size available.

<Enclosure:Bay> – The Enclosure:Bay value of the disk drive for the new RAID volume. Determine these
values from the output of the DISPLAY command.

[VolumeName] – A user-specified string to identify the volume.

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

A.3.2.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.

A.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-3 controller. The command does not change any other controller configuration parameters.

A.3.3.1

Command Line

sas3ircu <controller_#> delete [noprompt]

A.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.

A.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.

A.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. Use the STATUS command or the DISPLAY
command to determine the volumeID of the volume you want to delete.

A.3.4.1

Command Line

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

Advertising