Abort mdadm consistency check
One of our client systems has a Raid 1 setup using two 1 Terabyte drives. Last night, Debian’s consistency check launched, but, his system was doing some heavy disk IO due to some scripts that were being processed and the system was estimating close to 1000 hours to complete the check.
md3 : active raid1 sdb8 sda8 962108608 blocks [2/2] [UU] [===>.................] check = 15.1% (145325952/962108608) finish=60402.6min speed=224K/sec
To abandon the check, we issued:
echo idle > /sys/block/md3/md/sync_action
Which allowed the machine to skip the rest of the test. While I don’t like disabling the checks, we’ll reschedule this one to do the check after they are done doing their work.