tbrehm
2013-09-02 6b6719443e2fa859f61e2fc3cff054e927c59635
Fixed a issue in raid monitoring. Failed harddrives in software raid5 are not detected correctly.
1 files modified
2 ■■■ changed files
server/lib/classes/monitor_tools.inc.php 2 ●●● patch | view | raw | blame | history
server/lib/classes/monitor_tools.inc.php
@@ -1061,7 +1061,7 @@
                /* 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