linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Janek Kozicki <janek_listy@wp.pl>
Cc: linux-raid@vger.kernel.org
Subject: Re: mismatch_cnt of 128 and 1408.
Date: Tue, 25 Mar 2008 14:33:53 +1100	[thread overview]
Message-ID: <18408.29345.627523.525932@notabene.brown> (raw)
In-Reply-To: message from Janek Kozicki on Monday March 24

On Monday March 24, janek_listy@wp.pl wrote:
> 
> 5. then after reboot: /usr/share/mdadm/checkarray -a ; cat /sys/block/md?/md/mismatch_cnt
>    md0: 128
>    md1: 0
>    md2: 1408
> 
> Now I am alarmed that something might be wrong with the root
> partition. From other posts I remember that mismatch count for swap
> partitions is allowed to be nonzero.

Yes, the 'swap' is nothing to worry about.

As md does it's checks in units of around 128 sectors, the "md0: 128"
probably just means a single sector is different between the two.

I recommend

  echo repair > /sys/block/md0/md/sync_action

That will fix it.

Probably just another 'fsck -f' after that just to be on the same
side.

NeilBrown

  parent reply	other threads:[~2008-03-25  3:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24  7:36 mismatch_cnt of 128 and 1408 Janek Kozicki
2008-03-24 20:23 ` Oliver Martin
2008-03-25  3:33 ` Neil Brown [this message]
2008-03-25 12:43   ` Janek Kozicki
2008-03-26  2:07   ` Guy Watkins

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=18408.29345.627523.525932@notabene.brown \
    --to=neilb@suse.de \
    --cc=janek_listy@wp.pl \
    --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).