Version 7 (modified by Adam Cécile, 11 years ago) ( diff )




1. Card information

The FusionMPT SAS2 is a low-end card from LSI. It replaces the Fusion MPT cards.
It only supports RAID0 and RAID1 an can usually be found in many 1U rackmount servers which have only two disks drives. However, I must admit I'm not sure yet there's no RAID5 adapter with theses chips.
Even it's not full of features theses card appear to work fine and are supported by an opensource Linux driver.
A proprietary monitoring tool is available but it nearly offers no management features.

2. Linux kernel drivers

Driver Supported cards
mpt2sas LSI FusionMPT SAS 2.0 cards

There are many more mpt* drivers in Linux kernel.
Some seem to be required dependencies. Others look like being real drivers but we haven't used them yet.

mpt2sas has been added to Linux kernel from 2.6.30 release. Thus, it should be available in all recent (2010+) Linux distributions.

Some lspci -nn output examples:

  • 01:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] ![1000:0072] (rev 02) Dell PERC H200

3. Management and reporting tools

There's no opensource tool for theses new cards.
However, LSI provides a command line management tool named sas2ircu. Management features are really basic, so it's better to use it as a reporting tool only.

3.1. sas2ircu

3.1.1. Quickstart and output example

Probe controllers IDs:

server:~# sas2ircu LIST
LSI Corporation SAS2 IR Configuration Utility.
Version (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:01h:00h:00h      1028h   1f1dh 
SAS2IRCU: Utility Completed Successfully.

Get status of controller "0":

server:~# sas2ircu 0 DISPLAY
LSI Corporation SAS2 IR Configuration Utility.
Version (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                            :
  Firmware version                        :
  Channel description                     : 1 Serial Attached SCSI
  Initiator ID                            : 0
IR Volume information
IR volume 1
  Volume ID                               : 79
  Status of volume                        : Okay (OKY)
  RAID level                              : RAID1
  Size (in MB)                            : 1800000
  Boot                                    : Primary
  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)
  Size (in MB)/(in sectors)               : 1907729/3907029167
  Manufacturer                            : ATA     
  Model Number                            : Hitachi HUA72202

SAS2IRCU: Command DISPLAY Completed Successfully.
SAS2IRCU: Utility Completed Successfully.

In most case, your controller ID will be 0.

3.2. sas2ircu-status

sas2ircu-status is a package I wrote by myself. It includes a python wrapper around sas2ircu command and an initscript which daemonize the launch of the wrapper.
It also handles failure detection and report it by mail and syslog. It also handle unexpected output changes and reminders until the status is fine again.


Output example:

server:~# sas2ircu-status 
-- Controller informations --
-- ID | Model
c0 | SAS2008

-- Arrays informations --
-- ID | Type | Size | Status
c0u0 | RAID1 | 1800G | Okay (OKY)

-- Disks informations
-- ID | Model | Status
c0u0p0 | Hitachi HUA72202 (JK1151YAHUYAZZ) | Optimal (OPT)
c0u0p1 | Hitachi HUA72202 (JK1151YAHUW1DZ) | Optimal (OPT)

The script handle a "--nagios" arguement so it can be run through Nagios NRPE. Any error will turn exit code to 2, which means critical error in Nagios.

I haven't been able to really test it yet, so please use it carefully and contact me if you have a server on which you are able to do some testing (plug disks, unplug, create hotspare...)
Use the ticket system to contact me.

4. BIOS upgrade from a Linux system

Sorry, we don't have any information about this.

Note: See TracWiki for help on using the wiki.