mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
2300621dc7
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
13 lines
209 B
SYSTEMD
13 lines
209 B
SYSTEMD
[Unit]
|
|
Description=Weekly zpool scrub timer for %i
|
|
Documentation=man:zpool-scrub(8)
|
|
|
|
[Timer]
|
|
OnCalendar=weekly
|
|
Persistent=true
|
|
RandomizedDelaySec=1h
|
|
Unit=zfs-scrub@%i.service
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|