Ubuntu 24.10: Stop RAID health check from autostart

Kubuntu Logo

Previously, I wrote that I had a problem with the RAID health check on each PC start, as I use it from time to time. Unfortunately, the receipt didn’t help, so here is a new one

Previous post: https://phpdev.one/how-to-disable-raid-check-in-ubuntu.html

This time, I again observed that the health check has started after the boot

So I stopped it

Then I disabled the systemd timers responsible for the checks:

Then I stopped systemd timers that were running

And then I rebooted the PC. It looks like the problem solved now

Explanation

  • mdcheck_start.timer: This timer is usually responsible for initiating a new RAID consistency check.
  • mdcheck_continue.timer: This timer is often used to resume a previously interrupted check.
    • Disabling both ensures that checks are neither started nor resumed automatically.
  • systemctl disable: This command removes the symlinks that enable the service or timer to start during boot.
  • systemctl stop: This command stops the running instance of the service or timer.

Manual check

You can run this check manually when it is comfortable for you with the next command

where “md0” – your array ID

My OS version

It’s Kubuntu 24.10

You May Also Like

About the Author: vo