linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Justin Piszcz <jpiszcz@lucidpixels.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: mismatch_cnt != 0
Date: Sat, 23 Feb 2008 16:19:53 +0300	[thread overview]
Message-ID: <47C01D79.4010708@msgid.tls.msk.ru> (raw)
In-Reply-To: <alpine.DEB.1.00.0802230434100.3809@p34.internal.lan>

Justin Piszcz wrote:
> Should I be worried?
> 
> Fri Feb 22 20:00:05 EST 2008: Executing RAID health check for /dev/md3...
> Fri Feb 22 21:00:06 EST 2008: cat /sys/block/md3/md/mismatch_cnt
> Fri Feb 22 21:00:06 EST 2008: 936
> Fri Feb 22 21:00:09 EST 2008: Executing repair on /dev/md3
> Fri Feb 22 22:00:10 EST 2008: cat /sys/block/md3/md/mismatch_cnt
> Fri Feb 22 22:00:10 EST 2008: 936

Your /dev/md3 is a swap, right?
If it's swap, it's quite common to see mismatches here.  I don't know
why, and I don't think it's correct (there should be a bug somewhere).
If it's not swap, there should be no mismatches, UNLESS you initially
built your array with --assume-clean.
In any case it's good to understand where those mismatches comes from
in the first place.

As of the difference (or, rather, lack thereof) of the mismatched
blocks after check and repair - that's exactly what expected.  Check
found 936 mismatches, and repair corrected exactly the same amount
of them.  I.e., if you run check again after repair, you should see
0 mismatches.

/mjt

  reply	other threads:[~2008-02-23 13:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-23  9:34 mismatch_cnt != 0 Justin Piszcz
2008-02-23 13:19 ` Michael Tokarev [this message]
2008-02-23 14:05   ` Justin Piszcz
2008-02-23 15:44     ` Justin Piszcz
2008-02-24  1:33       ` Carlos Carvalho
2008-02-24  9:26         ` Justin Piszcz
2008-02-24 16:38           ` Janek Kozicki
2008-02-25 12:05             ` Justin Piszcz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47C01D79.4010708@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=jpiszcz@lucidpixels.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).