Commit 6b671944 authored by tbrehm's avatar tbrehm
Browse files

Fixed a issue in raid monitoring. Failed harddrives in software raid5 are not detected correctly.

parent f02fc545
......@@ -1061,7 +1061,7 @@ class monitor_tools {
/* fetch the next line */
$line = $tmp[$i];
if ((strpos($line, '[U_]') !== false) || (strpos($line, '[_U]') !== false)) {
if ((strpos($line, 'U_]') !== false) || (strpos($line, '[_U') !== false) || (strpos($line, 'U_U') !== false)) {
/* One Disk is not working.
* if the next line starts with "[>" or "[=" then
* recovery (resync) is in state and the state is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment