#590047 Wrong RAID status with status only

Package:
mpt-status
Source:
mpt-status
Description:
get RAID status out of mpt (and other) HW RAID controllers
Submitter:
Date:
2010-07-23 10:57:05 UTC
Severity:
important
#590047#5
Date:
2010-07-23 09:34:04 UTC
From:
To:
Hello,

we had an degraded RAID 1.
After we have plugged in a new HDD our monitoring said, that the raid is
now fine again, but it was still in the resync process.

# mpt-status
ioc0 vol_id 0 type IM, 2 phy, 465 GB, state DEGRADED, flags ENABLED
RESYNC_IN_PROGRESS
ioc0 phy 0 scsi_id 1 ATA      ST3500620AS      SD25, 465 GB, state ONLINE,
flags NONE
ioc0 phy 1 scsi_id 8 ATA      ST3500418AS      CC38, 465 GB, state ONLINE,
flags OUT_OF_SYNC


And the short querys says:
# mpt-status -qs

phys_id 0 ONLINE
phys_id 1 ONLINE

Okay phy 1 is online, but it is still in resync, this should be honored in
the short description (ONLINE_RESYNC).

Cheers.

#590047#10
Date:
2010-07-23 10:54:11 UTC
From:
To:
Hi Patrick,

unfortunately upstream refused to do any further development &
improvement due to lack of time & hardware. So this package can be
considered as "no upstream".

A good alternative would be the lsi own MegaCLI tool - available at

http://www.lsi.com/DistributionSystem/AssetDocument/4.00.11_Linux_MegaCLI.zip

I'm considering a replacement of mpt-status by megaCLI after further
tests.

thanks

Stefan