mpt-status on LSI SAS 1068, was: RE: humbled by the SC440 and raid monitoring

Bryan Mclellan bryanm at widemile.com
Mon Jun 2 13:55:18 CDT 2008


Mpt-status works on my Poweredge 1955 running debian etch. Make sure you have the mptctl module loaded.

# mpt-status
ioc0 vol_id 0 type IM, 2 phy, 67 GB, state OPTIMAL, flags ENABLED
ioc0 phy 1 scsi_id 32 FUJITSU  MAY2073RC        D108, 68 GB, state ONLINE, flags NONE
ioc0 phy 0 scsi_id 1 FUJITSU  MAY2073RC        D108, 68 GB, state ONLINE, flags NONE

# lsmod | grep mpt
mptctl                 22500  2
mptsas                 24360  2
mptscsih               21696  1 mptsas
mptbase                46176  3 mptctl,mptsas,mptscsih
scsi_transport_sas     25280  1 mptsas
scsi_mod              124168  4 sd_mod,mptsas,mptscsih,scsi_transport_sas

# cat /proc/scsi/mptsas/0
ioc0: LSISAS1068, FwRev=00063200h, Ports=1, MaxQ=511

# apt-cache show mpt-status
Package: mpt-status
Priority: extra
Section: admin
Installed-Size: 116
Maintainer: Steffen Joeris <white at debian.org>
Architecture: i386
Version: 1.1.6-13
Depends: libc6 (>= 2.3.6-6), lsb-base, daemon, mailx
Filename: pool/main/m/mpt-status/mpt-status_1.1.6-13_i386.deb
Size: 21092
MD5sum: 410d89f882790d76762ecc38c0fc5c6d
SHA1: 2d12fd73ec7bea30bf123dcd9cdca0aa0b8f7d20
SHA256: 14b6b907858cc9aed7cc56ba3ad657bf2cdd9f089838769a5bd257b7e36cee3e
Description: get RAID status out of mpt (and other) HW RAID controllers
 The mpt-status software is a query tool to access the running
 configuration and status of LSI SCSI HBAs.  mpt-status allows you to
 monitor the health and status of your RAID setup.

-----Original Message-----
From: linux-poweredge-bounces at dell.com [mailto:linux-poweredge-bounces at dell.com] On Behalf Of Eric Wood
Sent: Monday, June 02, 2008 10:46 AM
To: linux-poweredge at dell.com
Subject: Re: humbled by the SC440 and raid monitoring

On 29 May 2008, at 1:36, David Sparks <dave at ca.sophos.com> wrote:
> Eric Wood wrote:
>> I have been completely humbled.  I've had this server put away for over
>> year and half because I could never figure out how to monitor the SAS
>> controller.
>
> Whats wrong with mpt-status?  It claims support for SAS1068. :)
>
> http://www.drugphish.ch/~ratz/mpt-status/

I got it to compile but it still could not find the controller, as I noted
here:
http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/#comments

Maybe mpt-status only supports LSI controllers - not Dell OEM'ed
controllers.

So, last ditch effort, I updated the bios and firmware on the SC440 and SAS
5/iR controller, and reinstalled Dell's SAS Raid Storage Manger v2.16-01 for
RHEL5.  No luck - "No Storage Controller Found!".

Let me back up and ask this:  Since, the kernel is gratiously working the
controller, are there not any generic commands that query the SAS subsystem
to report back overall statuses of hard drives and raids?   I'm not a kernel
programmer, but I just can't understand why you put all the effort into
writing a driver which natively works with the kernel, and linux doesn't
give you a way to inspect the most basics of information other than the
spartan:

# cat /proc/scsi/mptsas/0
ioc0: LSISAS1068, FwRev=000a3300h, Ports=1, MaxQ=286

-eric

_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq



More information about the Linux-PowerEdge mailing list