Wer den LSI 9211-8i (auch SAS2008 genannt) unter Linux überwachen möchte, wird auf folgende Kommandozeilentools stoßen:
- MegaCLI
- StorCLI
- sas2ircu
Der Controller wird von Ubuntu 22.04 LTS standardmäßig unterstützt.
mpt2sas_cm0: LSISAS2008: FWVersion(20.00.07.00), ChipRevision(0x03), BiosVersion(07.39.02.00) scsi 6:1:0:0: Direct-Access LSI Logical Volume 3000 PQ: 0 ANSI: 6 root@lsrv53:/# lspci| grep -i lsi 29:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
Nun wollte ich, ohne einen anderen Treiber zu installieren, eines der Kommandozeilentools nutzen, wobei es mir nur um die Überwachung des RAID-Status geht, die Einrichtung habe ich über das Controller-BIOS erledigt. MegaCLI und StorCLI haben den Controller nicht gefunden. Lediglich mit sas2ircu war ich erfolgreich. Sas2ircu ist schwer zu finden, ich konnte nur die folgende Quelle lokalisieren:
https://www.supermicro.com/support/faqs/data_lib/FAQ_9633_SAS2IRCU_Phase_5.0-5.00.00.00.zip
root@lsrv53:/# sas2ircu list LSI Corporation SAS2 IR Configuration Utility. Version 5.00.00.00 (2010.02.09) Copyright (c) 2009 LSI Corporation. All rights reserved. Adapter Vendor Device SubSys SubSys Index Type ID ID Pci Address Ven ID Dev ID ----- ------------ ------ ------ ----------------- ------ ------ 0 SAS2008 1000h 72h 00h:29h:00h:00h 1000h 3080h SAS2IRCU: Utility Completed Successfully. root@lsrv53:/# sas2ircu 0 display LSI Corporation SAS2 IR Configuration Utility. Version 5.00.00.00 (2010.02.09) Copyright (c) 2009 LSI Corporation. All rights reserved. Read configuration has been initiated for controller 0 ------------------------------------------------------------------------ Controller information ------------------------------------------------------------------------ Controller type : SAS2008 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 : 56 Segment : 0 Bus : 41 Device : 0 Function : 0 RAID Support : Yes ------------------------------------------------------------------------ IR Volume information ------------------------------------------------------------------------ IR volume 1 Volume ID : 286 Status of volume : Okay (OKY) RAID level : RAID1 Size (in MB) : 3814697 Physical hard disks : PHY[0] Enclosure#/Slot# : 1:0 PHY[1] Enclosure#/Slot# : 1:1 ------------------------------------------------------------------------ Physical device information ------------------------------------------------------------------------ Initiator at ID #0 Device is a Hard disk Enclosure # : 1 Slot # : 0 State : Optimal (OPT) Manufacturer : ATA Model Number : TOSHIBA HDWQ140 Firmware Revision : FJ1M Serial No : 80S7K3K1BAYG Protocol : SATA Drive Type : SATA_HDD Device is a Hard disk Enclosure # : 1 Slot # : 1 State : Optimal (OPT) Manufacturer : ATA Model Number : TOSHIBA HDWQ140 Firmware Revision : FJ1M Serial No : 80SGK7PJFUYG Protocol : SATA Drive Type : SATA_HDD ------------------------------------------------------------------------ Enclosure information ------------------------------------------------------------------------ Enclosure# : 1 Logical ID : 500605bd:02010081 Numslots : 8 StartSlot : 0 ------------------------------------------------------------------------ SAS2IRCU: Command DISPLAY Completed Successfully. SAS2IRCU: Utility Completed Successfully.
Eine Einbindung in Nagios ist hier realisiert: