/[smeserver]/rpms/e-smith-base/sme9/e-smith-base-5.4.0-manageRAID.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme9/e-smith-base-5.4.0-manageRAID.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Mon Mar 24 03:05:36 2014 UTC (10 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Sun Mar 23 2014 Ian Wells <esmith@wellsi.com> 5.6.0-1.sme
- Roll new stream to remove obsolete images [SME: 7962]

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 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed