Mismatch_cnt is not Zero

After having repotted a Fedora Core 12 installation I was challenged with the apparently quite well-known warning message

/etc/cron.weekly/99-raid-check:

WARNING: mismatch_cnt is not 0 on /dev/md0

which came from Anacron into my inbox (The subject line starts with Anacron job ‘cron.weekly’). I remembered that I solved this problem on that Fedora server before, but could not remember how. Therefore I googled once again on this topic and found the following interesting links:

Please note that those two points refer to CentOS, but apparently, the solution provided from Arrfab did also resolve my current problem. Please not just calling

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

might not be enough to reset the mismatch_cnt as you can read at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405919 but an additional

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

will be necessary. Afterwards you can cross check the mismatch_cnt with the command

cat /sys/block/md0/md/mismatch_cnt

I would like to state clearly that the raid1 array on which this happened does not contain any swap file.

FractializeR reports in his post that he calmed down, as soon as he read the memory-mapped file explanation. However, I cannot agree to his assessment, because up to that point to where the check run first time, I – for sure – did not execute any memory mapped operation (dd should not do so). So there still must be some different explanation for this out there. Thus, the post of Chris Siebenmann brings this unclearity to the core: unless you know from where it comes running the commands above remains risky.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

4 Comments

  1. Macht Spaß hier zu lesen – freue mich auf weitere Artikel!

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  2. Hallo,
    Der Artikel hat mir sehr gut gefallen.
    Vielen Dank und Gruß 🙂

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  3. Hi… I’d prefer to be straighforward. I am building backlinks to my essay writing free-for-all website and I would be glad if you could accept my post here. My website is a free website which helps non-native speakers on the skills of writing compositions and I am sure that many students will find it helpful. Again, I would be glad if you will accept my posting, and I thank you in anticipation.

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  4. Although I do not like those comments asking for inclusion of links or trace backs (usually they land in the litter box right away), in this case I would like to make an exemption. Your request is honest and the content on your webpage is valuable.

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *

*