Projects / mpt-status


mpt-status is a query tool for accessing the running configuration and status of LSI SCSI HBAs. It is a heavily modified version of the original mpt-status-1.0 tool written by Matt Braithwaite. It allows you to monitor the health and status of your RAID setup. Currently supported and tested HBAs are the LSI 1030 SCSI RAID storage controller and LSI SAS1064 SCSI RAID storage controller. Since the tool uses the MPI (message passing interface), chances are high that the basic information regarding RAID status will be available for all LSI-based controllers.

Operating Systems

Recent releases

  •  05 Nov 2006 13:51

    Release Notes: This is the first release with proper 64-bit support and mostly clean interface querying. The mpt-status(8) man page has been added. Preliminary work has been done on integrating S.M.A.R.T information in the report output. This would allow one to monitor for failing hardware and preemptively replace it without business interruption. This information can be queried via the --newstyle/-n parameter. The new style parameter also provides you with the percentage status of the synchronization after a degradation.

    •  06 Mar 2006 18:40

      Release Notes: The previously released version contained debugging information in the default output, which would cause a lot of havoc for system administrators who have scripted their mpt-status output for monitoring reasons on basic output format assumption. This version reverts this erroneously added debugging output. You need to upgrade if you have used the 1.1.5 release.

      •  05 Mar 2006 05:59

        No changes have been submitted for this release.

        Recent comments

        30 May 2012 15:20 mhelix

        Third time's a charm!!!

        30 May 2012 15:13 mhelix

        For those with CentOS 5.8, here's how I did it (Find your own mirror for the mpt-status tar.gz file):

        30 May 2012 15:10 mhelix

        For those with CentOS, here's how I did it (Find your own mirror for the mpt-status tar.gz file):

        yum install rpm-build redhat-rpm-config unifdef -y
        cd ~
        rm -rf ~/rpmbuild
        mkdir -p rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
        ll rpmbuild/
        echo '%_topdir %(echo $HOME)/rpmbuild' > .rpmmacros
        rpm -i kernel-`uname -r`.src.rpm
        cd ~/rpmbuild/SPECS
        rpmbuild -bp --target=`uname -m` kernel.spec 2> prep-err.log | tee prep-out.log
        cd /usr/src
        wget FIND-YOUR-OWN-MIRROR-SORRY/mpt-status-1.2.0.tar.gz
        tar zxvf mpt-status-1.2.0.tar.gz
        cd /usr/src/mpt-status-1.2.0
        vi mpt-status.h
        ### REMOVE THE LINE #include <linux/compiler.h> and save
        make KERNEL_PATH=~/rpmbuild/BUILD/kernel-2.6.18/linux-2.6.18-308.1.1.el5.x86_64/
        make install
        modprobe mptctl

        23 Apr 2010 20:37 wsanders

        How to make for x4100 on CentOS 5.4:

        - Obtain mpt-status from

        - Obtain the X4100 resource CD from Sun. You may have to pay for this. Hopefully you got one with your box. I have an ISO file called X4100_X4200_ResourceCD_4.

        - Install the mpt driver from the RPMs on the CD: mptlinux-

        - Activate the mptctl driver (your distro should have come with mptbase and mpt sas): "/etc/rc3.d/S99fusion.mptctl start". Set up an rc3.d link to start this driver on boot!

        - You should see mptctl, mptsas, mptscsih (maybe), and mptbase in the output of lsmod at this point. If not, keep hunting for drivers.

        - Also on the Sun CDROM is mptlinux- Crate the directory and extract this source into /tmp/mptlinux-

        - Extract the mpt-status source into /tmp/mpt-status-1.2.0.

        - Edit the Makefile with:

        KERNEL_PATH := /usr/src/kernels/2.6.18-164.15.1.el5-x86_64/include
        CFLAGS := -Iincl -Wall -W -O2 \
        -I${KERNEL_PATH} \

        23 Apr 2010 16:50 wsanders

        Running CentOS. Seems to require src to the lsi driver. Any ideas where to get it?

        mpt-status.h:19:26: error: lsi/mpi_type.h: No such file or directory
        mpt-status.h:20:21: error: lsi/mpi.h: No such file or directory

        Also, Centos 5.4 has mptbase but not mptctl.


        Project Spotlight


        A Fluent OpenStack client API for Java.


        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.