unix

How do I list the status of LSI SCSI HBAs?

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.

========================================

About
-----
The mpt-status software is a query tool to access the running configuration and
status of LSI SCSI HBAs. This is a completely rewritten version of the original
mpt-status-1.0 tool written by Matt Braithwaite. mpt-status allows you to
monitor the health and status of your RAID setup.

Currently supported and tested HBAs are:

LSI 1030 SCSI RAID storage controller
LSI SAS1064 SCSI RAID storage controller
LSI SAS1068 SCSI RAID storage controller
LSI SAS 3442-R SCSI RAID storage controller

Since the tool is using the MPI (message passing interface) changes are high
that the basic information regarding RAID status will be available for all
LSI based controllers. Just give it a try and report back.


Requirements
------------
You should have mptbase and mptctl loaded or compiled into the kernel. If you
are to compile mpt-status by yourself, make sure you have the kernel source
installed, or else it will fail. This deficiency will hopefully be addressed
soon.


Reported working hardware configuration
---------------------------------------
Sun Fire X4100
Sun Fire X4200
Sun Fire V20z
Sun Fire V40z
Dell PE2600
Intel Server with SE7520BD2S boards
HP ProLiant DL320 G4
IBM eServer BladeCenter LS20


Where can I get this fine piece of software?
--------------------------------------------
Homepage of maintained version: http://www.drugphish.ch/~ratz/mpt-status/

The original version of this tool is not maintained anymore by its author. He
was kind enough to put a link to the current mpt-status home. Thanks, Matt.


Distro related support
----------------------
To my avail following distributions have mpt-status included:

Distro  | Status    | URL
--------+-----------+---------------------------------------------------------
Debian	| OK        | http://packages.debian.org/unstable/admin/mpt-status
--------+-----------+---------------------------------------------------------
Suse	| NOK (old) | http://www.novell.com/products/linuxpackages/professional/mpt-status.html
	| NOK (old) | http://www.novell.com/products/linuxpackages/enterpriseserver/SP3/ia64/mpt-status.html
--------+-----------+---------------------------------------------------------

Support for following distros can be found through google and rpm searches
(status unknown):

    PLD
    Turbolinux

I have provided spec (for RPM) files for OpenSuse and Red Hat, however they are
mostly untested. Have a look into the contrib sub directory.


How can I compile, install or uninstall mpt-status?
---------------------------------------------------
Read doc/INSTALL for further information on building mpt-status. Basically you
should be fine invoking

    make

A simple (as root)

    make install

should install the binary to $PREFIX/sbin, and can be uninstalled as follows:

    make uninstall


What does this software provide you?
------------------------------------
For now it should be improved regarding compilation on different systems, also
different kernels. But the output has changed as well. Example:

SR2400:~# ./mpt-status -i 1
ioc0 vol_id 1 type IM, 2 phy, 68 GB, state OPTIMAL, flags ENABLED
ioc0 phy 0 scsi_id 1 SEAGATE  ST373207LC       0003, 68 GB, state ONLINE, flags NONE
ioc0 phy 1 scsi_id 3 SEAGATE  ST373207LC       0003, 68 GB, state ONLINE, flags NONE

[root@redhatAS-3-U4-X86_64 mpt-status-1.1.5-new]# ./mpt-status

You seem to have no SCSI disks attached to your HBA or you have
them on a different scsi_id. To get your SCSI id, run:

    mpt-status -p

[root@redhatAS-3-U4-X86_64 mpt-status-1.1.5-new]# ./mpt-status -p
Found SCSI id=2, use ''mpt-status -i 2`` to get more information.
[root@redhatAS-3-U4-X86_64 mpt-status-1.1.5-new]# ./mpt-status -i 2
ioc0 vol_id 2 type IM, 2 phy, 67 GB, state OPTIMAL, flags ENABLED
ioc0 phy 1 scsi_id 4 FUJITSU  MAV2073RCSUN72G  0301, 68 GB, state ONLINE, flags NONE
ioc0 phy 0 scsi_id 3 FUJITSU  MAV2073RCSUN72G  0301, 68 GB, state ONLINE, flags NONE
[root@redhatAS-3-U4-X86_64 mpt-status-1.1.5-new]# ./mpt-status -i 2 -s
vol_id 2 OPTIMAL
phys_id 1 ONLINE
phys_id 0 ONLINE

A new style output has made it into the sources, however due to backwards
compatibility reasons it's not on per default. You can enable the new style
output by invoking mpt-status as follows:

    mpt-status --newstyle

There is also a debug mode since the mpt-status-1.2.0 release.


Hardware, Software and Distribution Compatibility
-------------------------------------------------
The mpt-status software is known and reported to compile and work on following
Linux distributions:
SuSE		: 9.0, 9.1, 9.2, 9.3, 10.0, 10.1, 10.2, SLES8, SLES9, SLES10
Redhat		: 7.3, 9.0, RHEL3, RHEL4, FC1, FC2, FC3, FC4, FC5
Debian		: all so far
Ubuntu		: edgy
Gentoo		: 2005.x
ulibc-based	: all

Kernels:
Linux: 2.4.x, 2.6.x

Architectures:
i386
x86_64

7 Comments

7 Comments

  1. ChloeWO

    October 29, 2010 at 7:32 pm

    Hi there,

    Just saying hi to the forum.

    Chloe

    -=-=-=-=-=-=-
    iseries news

    • admin

      November 6, 2010 at 6:56 pm

      Hey Chloe,

      Thanks for posting. Check back again soon for more articles.

      The MyTechForum.com Team

  2. cataclysm cd key

    November 9, 2010 at 2:20 am

    Good Job! Keep it up, I will check back some time.

  3. free live tv

    November 19, 2010 at 9:34 pm

    good info !

  4. Ammie Syck

    November 20, 2010 at 1:20 am

    I am extremely impressed with your writing skills and also with the layout on your blog. Is this a paid theme or did you customize it yourself? Either way keep up the nice quality writing, it’s rare to see a nice blog like this one these days..

  5. Raniarcah

    November 29, 2010 at 5:13 am

    Hi, I am new here.

    I’m sorry if this is not the right place for this question, but I was hoping some one here on http://www.mytechforum.com would be able to assist me access yahoo from school as it it is restricted.

    Any help would be appreciated

    Thanks ;-

    • admin

      November 29, 2010 at 3:37 pm

      Some methods to achieve what you want to do are:

      1: To access blocked website, type the IP address instead of the URL in the browser address bar. If your blocking software maps the IP address to the web server (reverse DNS lookup), the website will still remain blocked.

      2: Use a URL redirection service like tinyurl.com or snipurl.com. These domain forwarding services sometimes work as the address in the the URL box remain the redirect URL and do not change to the banned site.

      3: Enter the URL in Google or Yahoo search and then visit the cached copy of the page. To retrieve the page more quickly from Google’s cache, click “Cached Text Only” while the browser is loading the page from cache.

      4: There are anonymizer websites who will fetch the blocked web page from their servers and display them to you. As far as the service provider is concerned, you are viewing the page on the Anonymizer website and not the blocked site.

      5: You can access blocked or restricted websites by using Yahoo Babelfish or Google Translate language tools as a proxy server.

      You just have to invoke the Google translate service with the same language pair like English to English. Assuming that Google is accessible in your school, you should be able to access any website with the Babelfish proxy server.

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top