1 |
--- e-smith-base-5.4.0/root/sbin/e-smith/console-menu-items/manageRAID.pl.orig 2013-01-31 10:52:03.000000000 -0500 |
2 |
+++ e-smith-base-5.4.0/root/sbin/e-smith/console-menu-items/manageRAID.pl 2013-10-30 16:12:33.356855071 -0400 |
3 |
@@ -60,13 +60,13 @@ |
4 |
{ |
5 |
$used_disks{$_}++ for (@{$devices{$dev}{UsedDisks}}); |
6 |
|
7 |
- if ($devices{$dev}{State} =~ /recovering/) |
8 |
+ if ($devices{$dev}{State} =~ /recovering|resync/) |
9 |
{ |
10 |
push @recovering, "$dev => " . $devices{$dev}{State}; |
11 |
next; |
12 |
} |
13 |
|
14 |
- next if ($devices{$dev}{State} eq "clean"); |
15 |
+ next if ($devices{$dev}{State} =~ /clean|active/); |
16 |
|
17 |
push @unclean, "$dev => " . $devices{$dev}{State}; |
18 |
} |