linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mismatch_cnt of 128 and 1408.
@ 2008-03-24  7:36 Janek Kozicki
  2008-03-24 20:23 ` Oliver Martin
  2008-03-25  3:33 ` Neil Brown
  0 siblings, 2 replies; 5+ messages in thread
From: Janek Kozicki @ 2008-03-24  7:36 UTC (permalink / raw)
  To: linux-raid

Hello,

My backup box with raid5 recently suffered a series of power
failures. Now I'm doing some recovery hoping that power surges did
not damage HDDs.

I have here
- md0 a raid1 of 3*1GB=1GB (root partition) and
- md1 a raid5 of 3*500GB=1000GB (backup partition) and
- md2 a raid1 of 3*4GB=4GB (swap).

I did following things:

1. power on the server, and incidentally mount count for md1 enforced
   an fsck which found two errors.

2. /usr/share/mdadm/checkarray -a
   which does a resync of all raid partitions. It takes 5 hours for
   the 1TB backup partition.

3. afterwards the command: cat /sys/block/md?/md/mismatch_cnt gave answer:
   md0: 128
   md1: 0
   md2: 1408

4. touch /forcefsck ; shutdown -r now

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.

I checked smart health status of HDDs with smartctl -H and the drives
are healthy.


Is mismatch count = 128 an indication of bad HDD? How to discover
which one is bad?

-- 
Janek Kozicki                                                         |

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-26  2:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-03-25 12:43   ` Janek Kozicki
2008-03-26  2:07   ` Guy Watkins

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).