martin f krafft wrote:
> also sprach martin f krafft <[EMAIL PROTECTED]> [2007.05.06.0245 +0200]:
>
>>With the check feature of the recent md feature, the question popped
>>up what happens when an inconsistency is found. Does it fix it? If
>>so, which disk it assumes to be wrong if an inconsistency is found?
>
>
> What I meant was of course
>
> echo repair > sycn_action
>
> I am unsure what happens:
>
> piper:/sys/block/md7/md# cat mismatch_cnt
> 128
> piper:/sys/block/md7/md# echo repair > sync_action
> piper:/sys/block/md7/md# cat sync_action
> idle
> piper:/sys/block/md7/md# cat mismatch_cnt
> 128
>
> If I do this again, then mismatch_cnt goes to 0. Not the first time.
>
> md7 : active raid10 sda2[0] sdc2[2] sdb2[1]
> 1373376 blocks 64K chunks 2 near-copies [3/3] [UUU]
The first time it reports that it found (and repaired) 128 items.
It does not mean that you now *have* 128 mismatches.
The next run ('repair' or 'check') will find none (hopefully...)
and report zero.
--
Eyal Lebedinsky ([EMAIL PROTECTED]) <http://samba.org/eyal/>
attach .zip as .dat
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html