* Drop /etc/cron.d/mdadm and migrate to systemd mdcheck_start|continue
timer units.
* Drop /etc/cron.daily/mdadm and migrate to system mdmonitor-oneshot
timer unit.
* mdcheck_start.timer configures the mdcheck on a first sunday of the
month, with a randomized start delay of up to 24h, and runs for at
most 6h. mdcheck_continue.timer kicks off daily, with a randomized
start delay of up to 12h, and continues mdcheck for at most 6h.
* mdmonitor-oneshot.timer runs daily, with a randomized start delay of
up to 24h.
* One can use systemd drop-ins to change .timer units timings, set
environmental variables to decrease/increase the length of checking,
or start the checks by hand. Previously used checkarray is still
available, albeit not used by timer units.
* Above ensures that previous daily / monthly checks are performed, but
are randomized, such that performance is not as impacted across a
cluster of machines. LP: #1815201
-- Dimitri John Ledkov <email address hidden> Tue, 18 Jun 2019 16:29:44 +0100
This bug was fixed in the package mdadm - 4.1-2ubuntu3
---------------
mdadm (4.1-2ubuntu3) eoan; urgency=medium
* Drop /etc/cron.d/mdadm and migrate to systemd mdcheck_ start|continue daily/mdadm and migrate to system mdmonitor-oneshot continue. timer kicks off daily, with a randomized oneshot. timer runs daily, with a randomized start delay of
timer units.
* Drop /etc/cron.
timer unit.
* mdcheck_start.timer configures the mdcheck on a first sunday of the
month, with a randomized start delay of up to 24h, and runs for at
most 6h. mdcheck_
start delay of up to 12h, and continues mdcheck for at most 6h.
* mdmonitor-
up to 24h.
* One can use systemd drop-ins to change .timer units timings, set
environmental variables to decrease/increase the length of checking,
or start the checks by hand. Previously used checkarray is still
available, albeit not used by timer units.
* Above ensures that previous daily / monthly checks are performed, but
are randomized, such that performance is not as impacted across a
cluster of machines. LP: #1815201
-- Dimitri John Ledkov <email address hidden> Tue, 18 Jun 2019 16:29:44 +0100