mdadm: Report rebuilding if status is resync
This commit is contained in:
parent
124782c8d6
commit
79dc37ac3a
|
@ -101,7 +101,7 @@ while (<FILE>) {
|
|||
else {
|
||||
$status{$dev} = "Optimal";
|
||||
}
|
||||
if (/recovery/){
|
||||
if (/recovery|resync/){
|
||||
$status{$dev} = "Rebuilding";
|
||||
if ($result eq "OK"){
|
||||
$result = "WARNING";
|
||||
|
|
Loading…
Reference in New Issue
Block a user