KVM Host Raid Consistency Checking

The Problem

Eventually a disk will fail, but in some cases a sector on a disk just goes bad without being used, and noone knows...

Consider the following.

The solution

Run regular raid consistency checks. This will detect the bad sectors before they become a problem. I run this on tuesday night. Edit your crontab.

crontab -e

Add the following to your crontab

0 4 * * 2 echo "check" > /sys/block/md0/md/sync_action
0 4 * * 2 echo "check" > /sys/block/md1/md/sync_action

None: KVM Host Raid Consistency Checking (last edited 2017-11-11 20:08:10 by shran)