How do I stop an automatic raid check?


MD (software) raid checks are performed every Sunday at 1am on Centos6 systems, to stop a current raid check you can run the following command (updating the raid device number to that of your device).

echo "idle" > /sys/block/md0/md/sync_action

When you now view the status of the software RAID device you should see the sync has stopped.

cat /proc/mdstat

It may have moved onto anothe device if this was delayed due to it sharing a physical device with the previous check - if this is the case you may also want to stop this check.

 

N.B. stopping these checks may lead to data loss if your raid device needs to be checked or has a fault.

Tags: check, linux, raid, resync, software, sync
Last update:
2014-12-16 22:02
Author:
Chris Burton
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.