Linux - RAID Monitor - LSI Fusion-MPT SAS

This page documents monitoring of RAID controllers base on the "LSI Logic / Symbios Logic SAS1068E PCI-Express Fusion-MPT SAS" chipset using the lsiutil and mpt-status tools. You can choose to install either one of the tools or both.

RAID controllers

Some known RAID controllers based on this chipset are:

  • Dell SAS 6/iR Integrated Blades RAID Controller

Install

For the impatient theres an installer script for installing required tools and setup the crontab script.

You need to install the proprietary lsiutil command. This tool was created by LSI Logic and can be downloaded from their site. The mpt-status utility is also recommended.

Both of them are available as a Debian packages from http://hwraid.le-vert.net/debian/pool-wheezy/.

Gentoo GNU/Linux

Install from portage:

    bash$> emerge sys-block/mpt-status
    bash$> emerge sys-block/lsiutil
Debian

Download the mpt-status and lsiutil for Debian and install using dpkg:

    bash$> wget http://hwraid.le-vert.net/debian/pool-wheezy/mpt-status_1.2.0-4.2.hwraid1_amd64.deb
    bash$> wget http://hwraid.le-vert.net/debian/pool-wheezy/lsiutil_1.60-1_amd64.deb
    bash$> dpkg -i mpt-status_1.2.0-4.2.hwraid1_amd64.deb lsiutil_1.60-1_amd64.deb
Slackware

Slackware packages for lsiutil and mpt-status are available in the files directory:

    bash$> wget http://it.bmc.uu.se/andlov/docs/linux/raid/files/lsiutil-1.60-x86_64-1.txz
    bash$> wget http://it.bmc.uu.se/andlov/docs/linux/raid/files/mpt-status-1.2.0-x86_64-1.txz
    bash$> installpkg lsiutil-1.60-x86_64-1.txz mpt-status-1.2.0-x86_64-1.txz

Crontab

The lsiutil and mpt-status crontab script dumps various information in /var/cache/. On next invocation, the current dump is diffed against the old and if changes are detected, a mail is sent to root.

Download the lsiutil crontab script and put it in /etc/cron.hourly:

    bash$> wget http://it.bmc.uu.se/andlov/docs/linux/raid/files/lsiutil.cron
    bash$> wget http://it.bmc.uu.se/andlov/docs/linux/raid/files/mpt-status.cron
    bash$> mv lsiutil.cron /etc/cron.hourly/lsiutil
    bash$> mv mpt-status.cron /etc/cron.hourly/mpt-status

S.M.A.R.T. Monitoring

Monitoring of S.M.A.R.T. information is possible using the generic SCSI module:

    bash$> grep -v '#' /etc/smartd.conf
  /dev/sg1 -a -m root
  /dev/sg2 -a -m root

    bash$> smartctl -a /dev/sg1

You might have to load the module first:

    bash$> mopdprobe sg

The system above got an Dell SAS 6/iR Integrated Blades RAID controller with two SAS disk in mirror (RAID-1).

More information

See the LSI Fusion MPT SAS Wiki page.