Re: mismatch_cnt != 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux