Cancel a running raid-check


If you have a weekly cron job which runs raid-check and you want to stop it from running again just comment out the relevant line in this file..

/etc/cron.d/raid-check

If the job is already running and you want to kill it just do this..

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

where "md123" is whatever mdraid you have.

When running that file will contain "check" instead of "idle".

  Tags:

Looking for great online sysadmin training in Linux, Security & Hacking and many others?

Back