-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"disk_health" considered "admin failed" disk as normal #98
Comments
Hi, I've modified and tested with below patch and it works well now.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Type
Bug report
Issue Detail
Expected Behavior
When a disk failed, "disk_health" change to warning due to reconstructing.
After reconstruct completed, "disk_health" should keep warning state because of a failed disk in list.
Actual Behavior
After reconstruct completed, "disk_health" become normal but there is a failed disk in list.
Edit: I've tried add "-w 1" to set warning level at 1 failed disk"
Edit2: Sorry, I didn't notice that "disk_health" can't set warning / critical level, only "disk_spare" can.
How to reproduce Behavior
Fail a disk manually and wait for reconstruct completed, check the exit code from "disk_health".
The text was updated successfully, but these errors were encountered: