Welcome Guest [Log in]

Sandip :: Weblog :: mismatch_cnt is not 0

July 05, 2010

http://www.linuxweblog.com/blogs/sandip/20100704/mismatchcnt-not-0

Mismatch_cnt (/sys/block/md#/md/mismatch_cnt) is the number of unsynchronized blocks in the raid.


Not much of an issue if this is reported on raid-0 or raid-1 and can be ignored. See bugzilla report: Bug 566828.


The repair is to rebuild the raid:


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


This does not reset the count, but if you force a check after the rebuild is complete:


check >/sys/block/md#/md/sync_action


Count should return to zero. Verify with:


cat /sys/block/md#/md/mismatch_cnt


read more

Keywords: linux

Posted by sandip |

You must be logged in to post a comment.