Modify

Ticket #24 (closed defect: fixed)

Opened 19 months ago

Last modified 18 months ago

"Hot spare" trigger the "bad" status and caused an exit 1

Reported by: stefano.bridi@… Owned by: gandalf
Priority: major Milestone: 1.0.0
Component: wiki Version:
Keywords: hot spare hotspare Cc: stefano.bridi@…

Description

If you have an "hot spare" drive in your server, both the aacraid-status and the megaraidsas-status (and I suppose other script around) signal this as a problem.
I have patched in this way on aacraid-status:

for disk in diskinfo:

if disk[1] != 'Online' and disk[1] != 'Hot Spare':

bad = True

and in this way on megaraidsas-status:

for disk in disklist:

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

bad = True

Anyway on aacraid the hotspare is not listed bye the command.

Attachments

Change History

comment:1 Changed 18 months ago by gandalf

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

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

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.