Configuring zpool scrub frequency and viewing history

wayfarerdev

New Member
Feb 9, 2023
6
2
1
Hello,

Where can I configure the frequency for scrubs of the zpools on my Proxmox server? Also, where is the history of previous scrub attempts logged?

Thank you.
 
  • Like
Reactions: Pyromancer
Is it safe to edit /etc/cron.d/zfsutils-linux to change the interval? I wonder if a pve upgrade might change it back or similar.
 
Is it safe to edit /etc/cron.d/zfsutils-linux to change the interval? I wonder if a pve upgrade might change it back or similar.
As for other packages, APT is going to detect the changes, stop and ask you how do you want to handle it (replace the file, let it alone, merge the diffs).

I would just add another cronjob instead of edit that file, if you want the scrub to run more frequently. Once a month is not that bad though.