3 program return value, 13 bootir, 1 command line – Avago Technologies SAS 9207-4i4e Host Bus Adapter User Manual

Page 14: 2 parameters, 4 sample output, Bootir

Advertising
background image

LSI Corporation

- 14 -

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

November 2012

Commands

3.12.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.13

BOOTIR

The BOOTIR command selects an existing RAID volume as the primary boot device.

If an IR volume is selected as the boot device, the DISPLAY command displays this information in the IR Volume
information section, if the selected IR boot volume is available to the controller. If you attempt to set a failed RAID
volume as the primary boot device, the command fails with a warning message. For example, if volume 322 is in the
failed state and you attempt to set it as the primary boot device, SAS2IRCU displays the following error message:
SAS2IRCU: Volume specified by 322 is in Failed state!

3.13.1

Command Line

sas2ircu <controller_#> bootir <volumeID>

3.13.2

Parameters

<controller_#> – The index of the controller with the RAID volume that you want to select as the primary
boot device.

<volumeID> – The volume ID of the RAID volume that you want to select as the primary boot device.

3.13.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.13.4

Sample Output

The following example of the output of the BOOTIR command shows a RAID volume as the primary boot device, after
it was selected with the BOOTIR command. The format and fields in the output vary depending on the types of
installed controllers.

------------------------------------------------------------------------
IR Volume information
------------------------------------------------------------------------
IR volume 1
Volume ID : 174
Status of volume : Degraded (DGD)
RAID level : RAID1
Size (in MB) : 69376
Boot : Primary
Physical hard disks :
PHY[0] Enclosure#/Slot# : 2:8
PHY[1] Enclosure#/Slot# : 2:11
------------------------------------------------------------------------

Advertising