1 |
diff -ruN e-smith-base-5.2.0.old/root/sbin/e-smith/mdevent e-smith-base-5.2.0/root/sbin/e-smith/mdevent |
2 |
--- e-smith-base-5.2.0.old/root/sbin/e-smith/mdevent 2007-01-19 13:33:22.000000000 -0800 |
3 |
+++ e-smith-base-5.2.0/root/sbin/e-smith/mdevent 2013-06-24 18:09:29.000000000 -0700 |
4 |
@@ -37,6 +37,10 @@ |
5 |
|
6 |
print "Event: $event, Device: $device, Member: $member\n"; |
7 |
|
8 |
+if ($event =~ m#^Rebuild# && system( "ps -C 99-raid-check" ) == 0 ) { |
9 |
+ exit 0; |
10 |
+} |
11 |
+ |
12 |
if ($event =~ m#^Rebuild|^Fail|^Degraded|^SpareActive#) { |
13 |
my $domain = $conf->get_value("DomainName") || 'localhost'; |
14 |
my $user = "admin_raidreport\@$domain"; |