mpt-status For SuSE Linux

mpt-status is a command line utility to check the RAID status for LSI 1030 RAID controllers. Now can someone tell me why in the hell SuSE Linux Enterprise bothers to come with a version of mpt-status that doesn’t work with the Linux kernel that SuSE Linux uses???

It’s basically like bundling some application with Windows XP, but the application only works on Windows 98 or earlier.

Really annoying man…

After an hour of screwing around with it, I finally got it to work (I intentionally broke the RAID mirror to test the rebuild)…

# mpt-status
ioc0 vol_id 0 type IM, 2 phy, 136 GB, state DEGRADED, flags ENABLED RESYNC_IN_PROGRESS
ioc0 phy 0 scsi_id 0 SEAGATE ST3146854LC D403, 136 GB, state ONLINE, flags OUT_OF_SYNC
ioc0 phy 1 scsi_id 1 SEAGATE ST3146854LC D403, 136 GB, state ONLINE, flags NONE

Now if it would just tell me what percentage of the resync is done… Oh well, can’t have EVERYTHING I guess. 🙂

Update

I should have also mentioned you need to run the following command to register the RAID controller with the kernel…

/sbin/modprobe mptctl

8 thoughts on “mpt-status For SuSE Linux”

  1. Wouldn’t you just add the line mptctl to /etc/modules and have it done during the boot?
    Maybe not – I use Kubuntu, not Suse, but this is how I added support for FUSE filesystems

    … Sorry this comment is so late.

  2. Yeah you could of course do that too. I just threw it directly into my script that runs periodically to check raid health only because I wanted something that would ALWAYS work (maybe there is some future SuSE update that overwrites /etc/modules (or however else you choose to do it at boot) and then you have a problem. 🙂

  3. Can you give some details on how exactly the version of mpt-status coming with Suse was failing, and how you finally got it yo work?

  4. The version that came with SuSE would not give any output (or even an error) when you run it. The version I finally got working was version 1.1.6 and had to be built from source.

  5. Can you give me a hint how to rebuild the raid? I’m running a remote server with the same LSI h/w raid and one hdd is marked as ‘failed’ and flagged ‘OUT_OF_SYNC’.
    As mpt-status is just a status, which tools can be used to rebuild the raid?

    Thx,

    Oliver

  6. Just a question- did this “RESYNC_IN_PROGRESS” ever finish? how long did you have to wait?
    I lost my patience after a few hours, rebooted, pressed Ctr+C went into LSI configuration, and clicked on

    After that, I rebooted, and it instantly came up with:
    ioc0 vol_id 0 type IM, 2 phy, 136 GB, state OPTIMAL, flags ENABLED
    ioc0 phy 0 scsi_id 0 SEAGATE ST3146855LC D506, 136 GB, state ONLINE, flags NONE
    ioc0 phy 1 scsi_id 1 SEAGATE ST3146855LC D506, 136 GB, state ONLINE, flags NONE

    So I wonder if this RESYNC_IN_PROGRESS is real, or it just never finishes?

Leave a Reply

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