Modify

Ticket #10 (closed defect: fixed)

Opened 2 years ago

Last modified 3 months ago

megaraid-status reports NOT OPTIMAL on hot-spare (incl our solution)

Reported by: beheer@… Owned by: gandalf
Priority: major Milestone: 1.0.0
Component: packages Version:
Keywords: Cc:

Description

We have a 3 disk Raid 5 on a megaraid with 1 hotspare which reports ready in the megaraid-status but the script gives NOT OPTIMAL in our situation it's optimal so we changed the last lines of megareaid-status to:

for disk in disklist:

if not disk[-1] == 'online' and not disk[-1] == 'ready':

bad = True

Could you patch megaraid-status for the next release?
Tnx

Attachments

Change History

comment:1 Changed 2 years ago by beheer@…

Same for the aacraid-status script on the end we changed the following:

if disk[1] != 'Online' and disk[1] != 'Ready':

bad = True

comment:2 Changed 2 years ago by gandalf

  • Status changed from new to accepted

comment:3 Changed 2 years ago by anonymous

Same for the megaraidsas-status. hotspare disks give NOT OPTIMAL state. I change the end of the script :
if not disk[-1] in ('online', 'hotspare') :

bad = True

Thanks for your work !

comment:4 Changed 22 months ago by anonymous

Same for megaraid-status ; i change the end :
for disk in disklist:

if not disk[-1] == 'online' and not disk[-1] == 'hotspare':

bad = True

Thanks !

comment:5 Changed 18 months ago by gandalf

  • Status changed from accepted to closed
  • Resolution set to fixed

Fixed in megaraid-status-0.9 (both megaraid-status and megaraidsas-status).
Fixed in aacraid-status-0.16.

comment:6 Changed 3 months ago by anonymous

beg to differ. this is still broken in 0.9 for megaraid-status and megaraidsas-status versions (reading "ready" instead of "hotspare")
at least if the ubuntu repo is reporting the version correctly...

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.