6 hotspare, 1 command line, 2 parameters – Avago Technologies SAS 9207-4i4e Host Bus Adapter User Manual
Page 10: 3 program return value, Hotspare
LSI Corporation
- 10 -
SAS-2 Integrated RAID Configuration Utility (SAS2IRCU) User Guide
November 2012
Commands
Missing (MIS) – The drive has been removed or is not responding.
Standby (SBY) – The device is not a hard-disk device.
Out of Sync (OSY) – The drive, which is part of an Integrated RAID volume, is not in sync with other drives
that are part of the volume.
Degraded (DGD) – The drive is part of a volume and is in degraded state.
Rebuilding (RBLD) – The drive is part of a volume and is currently rebuilding.
Optimal (OPT) – The drive is optimal and is part of a volume.
Physical device Drive Type values are as follows:
SAS_HDD – The drive is a SAS HDD.
SATA_HDD – The drive is a SATA HDD.
SAS_SSD – The drive is a SAS SSD.
SATA_SSD – The drive is a SATA SSD.
Physical device Protocol values are as follows:
SAS – The drive supports SAS protocol.
SATA – The drive supports SATA protocol.
3.6
HOTSPARE
The HOTSPARE command adds a hot spare drive to spare pool 0 or deletes a hot spare drive. The capacity of the hot
spare drive must be greater than or equal to the capacity of the smallest drive in the RAID volume. Determine if this is
true by using the DISPLAY command on the drive.
The following restrictions and defaults apply when creating hot spare disks:
You cannot create a hot spare disk unless at least one RAID 1, RAID 10, or RAID 1E volume already exists on the
controller.
You cannot create a hot spare and add it to an inactive Integrated RAID volume.
For hard-disk drives, you cannot add a SAS hot spare disk if the existing volumes on the controller use SATA disks.
You cannot add a SATA hot spare disk if the existing volumes on the controller use SAS disks.
You cannot add an SSD hot spare to a volume that has HDDs, and you cannot add an HDD hot spare to a volume
that has solid state drives.
For solid-state drives, you cannot add a SAS hot spare SSD to a volume with SATA SSDs and you cannot add a SATA
hot spare SSD to a volume with SAS SSDs.
You can create one or two global hot spares per LSI SAS-2 controller.
3.6.1
Command Line
sas2ircu <controller_#> hotspare [delete] <Enclosure:Bay>
3.6.2
Parameters
<controller_#> – The index of the controller on which you want to create the hot spare disk.
<Enclosure:Bay> – The Enclosure:Bay value for the hot spare disk drive. Determine these values from the
output of the DISPLAY command. DOS does not support addressing by Enclosure:Bay.
[delete] – This optional command deletes the hot spare disk at Enclosure:Bay.
3.6.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.