{"id":222,"date":"2010-03-10T20:27:00","date_gmt":"2010-03-10T20:27:00","guid":{"rendered":"http:\/\/blog.schmoigl-online.de\/?p=222"},"modified":"2010-07-19T18:38:49","modified_gmt":"2010-07-19T17:38:49","slug":"mismatch_cnt-is-not-zero","status":"publish","type":"post","link":"http:\/\/blog.schmoigl-online.de\/?p=222","title":{"rendered":"Mismatch_cnt is not Zero"},"content":{"rendered":"<p>After <a href=\"?p=159\">having repotted a Fedora Core 12 installation<\/a> I was challenged with the apparently quite well-known warning message <\/p>\n<pre>\r\n\/etc\/cron.weekly\/99-raid-check:\r\n\r\nWARNING: mismatch_cnt is not 0 on \/dev\/md0\r\n<\/pre>\n<p>which came from Anacron into my inbox (The subject line starts with <i>Anacron job &#8216;cron.weekly&#8217;<\/i>). I remembered that I solved this problem on that Fedora server before, <!--more-->but could not remember how. Therefore I googled once again on this topic and found the following interesting links:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.mail-archive.com\/gnhlug-discuss@mail.gnhlug.org\/msg27222.html\">http:\/\/www.mail-archive.com\/gnhlug-discuss@mail.gnhlug.org\/msg27222.html<\/a><\/li>\n<li><a href=\"http:\/\/www.arrfab.net\/blog\/?p=199\">http:\/\/www.arrfab.net\/blog\/?p=199<\/a><\/li>\n<\/ul>\n<p>Please note that those two points refer to CentOS, but apparently, the solution provided from <a href=\"http:\/\/www.arrfab.net\/blog\/?p=199\">Arrfab<\/a> did also resolve my current problem. Please not just calling<br \/>\n<code lang=\"bash\"><br \/>\necho repair >\/sys\/block\/md0\/md\/sync_action<br \/>\n<\/code><br \/>\nmight not be enough to reset the mismatch_cnt as you can read at <a href=\"http:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=405919\">http:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=405919<\/a> but an additional<br \/>\n<code lang=\"bash\"><br \/>\necho check >\/sys\/block\/md0\/md\/sync_action<br \/>\n<\/code><br \/>\nwill be necessary. Afterwards you can cross check the mismatch_cnt with the command<br \/>\n<code lang=\"bash\"><br \/>\ncat \/sys\/block\/md0\/md\/mismatch_cnt<br \/>\n<\/code><br \/>\nI would like to state clearly that the raid1 array on which this happened does not contain any swap file.<\/p>\n<p><a href=\"http:\/\/www.fractalizer.ru\/frpost_350\/warning-mismatch_cnt-is-not-0-on-devmd0\/\">FractializeR<\/a> 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 &#8211; for sure &#8211; 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 <a href=\"http:\/\/utcc.utoronto.ca\/~cks\/space\/blog\/linux\/SoftwareRaidFail\">post of Chris Siebenmann<\/a> brings this unclearity to the core: unless you know from where it comes running the commands above remains risky.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8216;cron.weekly&#8217;). I remembered that I solved this problem on that Fedora server before,<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-222","post","type-post","status-publish","format-standard","hentry","category-fedora"],"_links":{"self":[{"href":"http:\/\/blog.schmoigl-online.de\/index.php?rest_route=\/wp\/v2\/posts\/222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.schmoigl-online.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.schmoigl-online.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.schmoigl-online.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.schmoigl-online.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=222"}],"version-history":[{"count":15,"href":"http:\/\/blog.schmoigl-online.de\/index.php?rest_route=\/wp\/v2\/posts\/222\/revisions"}],"predecessor-version":[{"id":236,"href":"http:\/\/blog.schmoigl-online.de\/index.php?rest_route=\/wp\/v2\/posts\/222\/revisions\/236"}],"wp:attachment":[{"href":"http:\/\/blog.schmoigl-online.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.schmoigl-online.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.schmoigl-online.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}