Skip to content

HP ssacli - rebuilding shouldn't perhaps still be warning state? #212

@calestyo

Description

@calestyo

Hey.

This is the very same system as described in #211... i.e. the same failed drive, output, etc..

After marking the predictively failed disk (which is actually completely broken and the controller doesn't just get it... o.O), and rebooting the system, HP Smart Array started with an auto rebuild.

check_raid outputs here the following:

# /usr/lib/nagios/plugins/check_raid
Unhandled: [Warning: Unrecoverable Media Errors Detected on Drives during previous Rebuild ]
Unhandled: [or Background Surface Analysis (ARM) scan. Errors will be fixed automatically]
Unhandled: [when the sector(s) are overwritten. Backup and Restore are recommended.]
Unhandled: [Warning: Unrecoverable Media Errors Detected on Drives during previous Rebuild ]
Unhandled: [or Background Surface Analysis (ARM) scan. Errors will be fixed automatically]
Unhandled: [when the sector(s) are overwritten. Backup and Restore are recommended.]
OK: ssacli:[HPE Smart Array P816i-a SR Gen10[OK]: Array A(OK)[LUN1:OK], Array B(OK)[LUN2:Recovering, 54.28% complete,LUN3:Ready for Rebuild,LUN4:Ready for Rebuild,LUN5:Ready for Rebuild,LUN6:Ready for Rebuild,LUN7:Ready for Rebuild,LUN8:Ready for Rebuild,LUN9:Ready for Rebuild,LUN10:Ready for Rebuild,LUN11:Ready for Rebuild,LUN12:Ready for Rebuild,LUN13:Ready for Rebuild]]

I.e. it gives OK while it's actually still rebuilding.
I think it would be better, if in that state it would still give a WARNING, because it's not yet clear whether the rebuild succeeds - e.g. with this bogus drive, it definitely won't (the drive is suuuuuuper slow... I'd be dead before any rebuild had finished).

Following, some ssacli output while rebuilding, just if that helps:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions