What the hell??!? (blah, blah of a wannabe alien)
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
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.
| Print article | This entry was posted by Shawn on June 4, 2006 at 6:08 pm, and is filed under Server Admin. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
about 5 years ago
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.
about 5 years ago
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.
about 5 years ago
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?
about 5 years ago
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.
about 4 years ago
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
about 4 years ago
Hello,
What do you do to break your RAID mirror?
about 3 years ago
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?
about 3 years ago
Clicked on “Synchronize Whole Mirror” in LSI configuration that is