[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ZFS monthly scrubs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On 09.11.2011 19:40, Robert Millan wrote:
> For a system that's used regularly 20 mounts is basically one month.
> I get the impression there's consensus on one month as a reasonable
> interval.

Probably, yes. It's a somewhat fair trade-off between beneficial checks
and heavy I/O loads.

> Would you use /etc/cron.monthly or a custom script to run first sunday
> of every month like mdadm?

That seems to be the best heuristic to me. After all, the site
administrator can always tweak the cronjob to schedule it whenever he
likes. Hence we shouldn't be worried too much /when/ to execute it, only
/whether/ we should do so at all.

> Running only on sunday sounds good, I wonder why doesn't
> /etc/cron.monthly always run on sundays already.

Maybe it has historic reasons? Besides, it's a locale interpretation of
our hemisphere to presume Sunday morning is the least busy part of the
week in terms of workloads. I'd guess in the Arabian world our Sunday
workload low is reached Fridays there.


- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOu6+6AAoJEMcrUe6dgPNt6hwP+gOMZEsHQeJqbaVQTuN3r1zM
6Vtrw0ow/MW+zdUp+vUnRjH5UGHnbfd7y/79JXVbVDt5epkcbh2k6FsTKEQjaR2R
wiaI38ZWnWkwPgeIRufmx323948LQeLziBjXLAae+11V9Qz6Jgh7U3Nee9h4Lnvn
nKZdwHOYnpk23xL281FroCrad1BLAk4CInrysO5VnYKxx+dEPmKS88tG8wCdJOcc
sxsT/VpDGlyCItixfteEDt6hgNRdIRq5FT8A/Io5MJNgi+9E9Za46VtiR55M5oqp
imAh53BSegO4S+Q97PDDKI/ir7aOsuEIyIOW/cVEUN8ol7P7e/zJQEndYSxn7U/v
UF1vkgvR3liWILW/S/JUdU6jj/x0/C23n39bcZuG4H5A6S/1lRqa0EY1b+2NEuSE
uCnDSyf8KIPa/X5T/XI+Xt0i+gyCXrvysukqFuyM4L0EnmqoqKGhhH0QYjK6FbRZ
XerDWjQ/Zn2JfsOliLxsRhACjcZzFxd179gEcwAcpTyJLvvFWgwd/ZnRDSavb5Wv
E1VnRHuEzjpzLVZzv5/4Is9Sa9sVOe6jXC4UwUFHgvjFUxW1Ukqa/mYaPx2YxA1Y
SKndaOSbQYtpV8YcS6ISVUwMal/Dd4GWNxZ0rnQRsFcUjAIPS6sSwFoYIfwY6p0Y
1ck7AlTjRcgkH/gkolXX
=iZy0
-----END PGP SIGNATURE-----


Reply to: