HomeFreeBSD

systemd: add weekly and monthly scrub timers

Description

systemd: add weekly and monthly scrub timers

Timers can be enabled as follows:

systemctl enable zfs-scrub-weekly@rpool.timer --now
systemctl enable zfs-scrub-monthly@datapool.timer --now

Each timer will pull in zfs-scrub@${poolname}.service, which is not
schedule-specific.

Added PERIODIC SCRUB section to zpool-scrub.8.

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Closes #12193

Details

Provenance
Georgy Yakovlev <168902+gyakovlev@users.noreply.github.com>Authored on Dec 16 2021, 7:47 PM
GitHub <noreply@github.com>Committed on Dec 16 2021, 7:47 PM
Parents
rGf291fa658efd: t/z_diff/socket, zfs: main: fix unused argument warnings, ARGSUSED tags
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG2300621dc745: systemd: add weekly and monthly scrub timers (authored by Georgy Yakovlev <168902+gyakovlev@users.noreply.github.com>).Dec 16 2021, 7:47 PM