On Tue, 6 Dec 2011 23:19:21 +0400 Sergey Kirpichev <skirpic...@gmail.com> wrote:
> Hello, > > As a variant to fix this issue, please consider using > attached patch. Hope, it's simple enough to be > accepted upstream. Upstream has just applied it. http://neil.brown.name/git?p=mdadm;a=commitdiff;h=d97a5e60506343bd8cb2b75d5003b2a49cbc8566 Thanks, NeilBrown > > On nonzero mismatch_cnt it makes log entry like this: > -->8--- > Dec 6 22:52:42 squeeze mdadm[2376]: RebuildFinished event detected on md > device /dev/md0, component device mismatches found: 128 (on raid level 1) > ---->8-- > > Thus, you can filter this out in logcheck rules _only_ for raid1/raid10: > ----->8---- > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ mdadm(\[[[:digit:]]+\])?: > Rebuild((Start|Finish)ed|[[:digit:]]+) event detected on md device > /dev/[-_./[:alnum:]]+, component device mismatches found: [0-9]+ \(on raid > level (1|10)\)$ > ---->8--- > > This patch also can be useful for #588516.
signature.asc
Description: PGP signature