hwraid
hwraid copied to clipboard
sas2ircu-status It shows abnormal state array
root@pve1:~# sas2ircu list
LSI Corporation SAS2 IR Configuration Utility.
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved.
Adapter Vendor Device SubSys SubSys
Index Type ID ID Pci Address Ven ID Dev ID
----- ------------ ------ ------ ----------------- ------ ------
0 SAS2004 1000h 70h 00h:01h:00h:00h 1000h 3010h
SAS2IRCU: Utility Completed Successfully.
root@pve1:~# sas2ircu 0 DISPLAY
LSI Corporation SAS2 IR Configuration Utility.
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved.
Read configuration has been initiated for controller 0
------------------------------------------------------------------------
Controller information
------------------------------------------------------------------------
Controller type : SAS2004
BIOS version : 7.39.02.00
Firmware version : 20.00.07.00
Channel description : 1 Serial Attached SCSI
Initiator ID : 0
Maximum physical devices : 255
Concurrent commands supported : 1720
Slot : 10
Segment : 0
Bus : 1
Device : 0
Function : 0
RAID Support : Yes
------------------------------------------------------------------------
IR Volume information
------------------------------------------------------------------------
IR volume 1
Volume ID : 286
Status of volume : Okay (OKY)
Volume wwid : 03b1af2ecb4eb1ec
RAID level : RAID10
Size (in MB) : 278472
Physical hard disks :
PHY[0] Enclosure#/Slot# : 2:0
PHY[1] Enclosure#/Slot# : 2:1
PHY[2] Enclosure#/Slot# : 2:2
PHY[3] Enclosure#/Slot# : 2:3
------------------------------------------------------------------------
Physical device information
------------------------------------------------------------------------
Initiator at ID #0
Device is a Enclosure services device
Enclosure # : 2
Slot # : 0
SAS Address : 5000e0c-e-36b1-200b
State : Standby (SBY)
Manufacturer : ESG-SHV.
Model Number : SCA HSBP M1.....
Firmware Revision : 2.17
Serial No : ESGSHVqa217
GUID : N/A
Protocol : SAS
Device Type : Enclosure services device
Device is a Hard disk
Enclosure # : 2
Slot # : 0
SAS Address : 5000cca-0-1121-ea39
State : Optimal (OPT)
Size (in MB)/(in sectors) : 140205/287140276
Manufacturer : HITACHI
Model Number : HUS153014VLS300
Firmware Revision : A410
Serial No : JNVLN6LC
GUID : 5000cca01121ea38
Protocol : SAS
Drive Type : SAS_HDD
Device is a Hard disk
Enclosure # : 2
Slot # : 1
SAS Address : 5000cca-0-1123-4ae5
State : Optimal (OPT)
Size (in MB)/(in sectors) : 140205/287140276
Manufacturer : HITACHI
Model Number : HUS153014VLS300
Firmware Revision : A410
Serial No : JNVMDPPC
GUID : 5000cca011234ae4
Protocol : SAS
Drive Type : SAS_HDD
Device is a Hard disk
Enclosure # : 2
Slot # : 2
SAS Address : 5000cca-0-1123-4d75
State : Optimal (OPT)
Size (in MB)/(in sectors) : 140205/287140276
Manufacturer : HITACHI
Model Number : HUS153014VLS300
Firmware Revision : A410
Serial No : JNVMDVZC
GUID : 5000cca011234d74
Protocol : SAS
Drive Type : SAS_HDD
Device is a Hard disk
Enclosure # : 2
Slot # : 3
SAS Address : 5000cca-0-1126-c97d
State : Optimal (OPT)
Size (in MB)/(in sectors) : 140205/287140276
Manufacturer : HITACHI
Model Number : HUS153014VLS300
Firmware Revision : A410
Serial No : JNVPA8LC
GUID : 5000cca01126c97c
Protocol : SAS
Drive Type : SAS_HDD
Device is a Hard disk
Enclosure # : 2
Slot # : 4
SAS Address : 5000cca-0-1121-7f45
State : Hot Spare (HSP)
Size (in MB)/(in sectors) : 140205/287140276
Manufacturer : HITACHI
Model Number : HUS153014VLS300
Firmware Revision : A410
Serial No : JNVLE2TC
GUID : 5000cca011217f44
Protocol : SAS
Drive Type : SAS_HDD
------------------------------------------------------------------------
Enclosure information
------------------------------------------------------------------------
Enclosure# : 1
Logical ID : 500062b0:002e2b80
Numslots : 4
StartSlot : 0
Enclosure# : 2
Logical ID : 5000e0ce:36b12000
Numslots : 9
StartSlot : 0
------------------------------------------------------------------------
SAS2IRCU: Command DISPLAY Completed Successfully.
SAS2IRCU: Utility Completed Successfully.
sas2ircu 0 STATUS
LSI Corporation SAS2 IR Configuration Utility.
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved.
Background command progress status for controller 0...
IR Volume 1
Volume ID : 286
Current operation : None
Volume status : Enabled
Volume state : Optimal
Volume wwid : 03b1af2ecb4eb1ec
Physical disk I/Os : Not quiesced
SAS2IRCU: Command STATUS Completed Successfully.
SAS2IRCU: Utility Completed Successfully.
root@pve1:~# sas2ircu-status
-- Controller informations --
-- ID | Model
c0 | SAS2004
-- Arrays informations --
-- ID | Type | Size | Status
c0u0 | RAID10 | 278G | Okay (OKY)
-- Disks informations
-- ID | Model | Status
c0u0p0 | SCA HSBP M1..... (ESGSHVqa217) | Standby (SBY)
c0u0p1 | HUS153014VLS300 (JNVLN6LC) | Optimal (OPT)
c0u0p2 | HUS153014VLS300 (JNVMDPPC) | Optimal (OPT)
c0u0p3 | HUS153014VLS300 (JNVMDVZC) | Optimal (OPT)
c0u0p4 | HUS153014VLS300 (JNVPA8LC) | Optimal (OPT)
There is at least one disk/array in a NOT OPTIMAL state.
As you can see, the presence of a hot spare, but the script sas2ircu-status it does not show, and gives incorrect status of the array.
Please help with the script, where you need to correct that it worked correctly.
UP