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

Annotation 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.1 - (hide annotations) (download)
Wed Oct 30 20:21:43 2013 UTC (11 years ago) by charliebrady
Branch: MAIN
CVS Tags: e-smith-base-5_4_0-62_el6_sme, e-smith-base-5_4_0-48_el6_sme, e-smith-base-5_4_0-56_el6_sme, e-smith-base-5_4_0-46_el6_sme, e-smith-base-5_4_0-55_el6_sme, e-smith-base-5_4_0-45_el6_sme, e-smith-base-5_4_0-57_el6_sme, e-smith-base-5_4_0-49_el6_sme, e-smith-base-5_4_0-50_el6_sme, e-smith-base-5_4_0-52_el6_sme, e-smith-base-5_4_0-54_el6_sme, e-smith-base-5_4_0-51_el6_sme, e-smith-base-5_4_0-53_el6_sme, e-smith-base-5_4_0-61_el6_sme, e-smith-base-5_4_0-60_el6_sme, e-smith-base-5_4_0-47_el6_sme, e-smith-base-5_4_0-58_el6_sme, e-smith-base-5_4_0-59_el6_sme
- Fix parsing issues with "manage RAID" menu option in the console.
  [SME: 7953]

1 charliebrady 1.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