[script] Sequential ZFS scrub for cron

Hello morph027,

just now I see your script, and that's exactly what I'm looking for.
As you write, I find, it is enough monthly and it should not overlap with the vzdump backups.
My two questions:
Where do I turn off the default scrubbing?
Is your script compatible with the latest two Proxmox versions 4 and 5?
Thank you for sharing your script.
regards,
maxprox
 
the answer for my first question I found:
Code:
 cat /etc/cron.d/zfsutils-linux
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# Scrub the second Sunday of every month.
24 0 8-14 * * root [ $(date +\%w) -eq 0 ] && [ -x /usr/lib/zfs-linux/scrub ] && /usr/lib/zfs-linux/scrub
root@fcprox:~#

EDIT: oh same time!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!