Red alert but Status is HEALTHY

Status
Not open for further replies.

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
Maybe this is simply a cosmetic issue, but if a vdev is currently being repaired following an error (and indicated by the flashing red), shouldn't the Status in the GUI display something other than "HEALTHY"? How about "BEING REPAIRED" or "RECOVERING" or ...? (BTW, the drive that is being repaired does not show any SMART errors.)
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
I don't even know what you are trying to say.. lol.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
@cyberjock I think it's a UI bug he's describing - the main indicator (Alert) is showing red, but Storage -> Volumes is showing the zpool as HEALTHY. If there's a resilver operation in progress it should show as DEGRADED.

@Z300M if it's still resilvering, does it show as DEGRADED if you do zpool status poolname from shell?
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
@cyberjock I think it's a UI bug he's describing - the main indicator (Alert) is showing red, but Storage -> Volumes is showing the zpool as HEALTHY. If there's a resilver operation in progress it should show as DEGRADED.

@Z300M if it's still resilvering, does it show as DEGRADED if you do zpool status poolname from shell?
The resilvering is all complete now, of course, but I think that zpool status poolname showed ONLINE rather than DEGRADED.

Shouldn't there be an additional status category? DEGRADED seems appropriate when a drive has faulted or is not available and no repair has been initiated, but I can't see that HEALTHY is an appropriate status to report while resilvering is still in progress. Maybe it should just say RESILVERING rather than HEALTHY.

@cyberjock To use a medical example: if I'm in hospital being treated for an illness or recovering from some procedure, would the hospital report that I am "healthy"? Wouldn't the report be that I am "recovering" or something similar?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Ah, ok. I haven't seen what you've seen. I'd want to see what the zpool status was at the time of the alert being red.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
The resilvering is all complete now, of course, but I think that zpool status poolname showed ONLINE rather than DEGRADED.

Shouldn't there be an additional status category? DEGRADED seems appropriate when a drive has faulted or is not available and no repair has been initiated, but I can't see that HEALTHY is an appropriate status to report while resilvering is still in progress. Maybe it should just say RESILVERING rather than HEALTHY.

I'm not about to break a vdev at the moment to verify; but the correct ZFS status for an array being resilvered is in fact DEGRADED because the pool's integrity at the moment is less than perfect.

I believe it should show something akin to:

Code:
state: DEGRADED
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scrub: resilver in progress for 0h1m, 22.60% done, 0h4m to go


If zpool status poolname shows "HEALTHY" then maybe it's an issue of the alert indicator just being delayed/needing to refresh. Might even be a bit of local browser cache funkiness.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
What is the FULL zpool status output though? That's the key to the degraded and online/healthy. ;)
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
What is the FULL zpool status output though? That's the key to the degraded and online/healthy. ;)
Of course the resilvering completed more than 24 hours ago, so I cannot provide the answer to that question. However, I do know that the resilvering was still in progress, so I think the Red alert button was in order; it's the HEALTHY status indicator that I'm questioning.
 
Status
Not open for further replies.
Top