-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi,
I think it might be better if we set scrub interval to whole weeks (proposed changeset changes it to 5 weeks). The reason for this is to make it easier for system administrators to estimate when the scrub happens, for instance, if a scrub was done on Saturday, it always happen on Saturdays. On large zpools, scrub can consume a lot of time and I/O bandwidth, and having it happen on random weekday is not a good idea. Cheers, - -- Xin LI <delp...@delphij.net> https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJOqaq+AAoJEATO+BI/yjfBNq8IALxm6vrtIIbnklv+WM9hc1ek Os3DpIf12UNA52v02Gglqz3fyuff4wQ4iHQBi1gvZRzEkY9pVTQgInFi2F5MlBxF DC474RLyOShS2SMBmHZQPxlRcGhG6e9OY75XLu0HzbPl3Ah7+HiPcckEgEZ7NjhL 3CKYikvaXerE+Iee+dzrhP9wN+JaG4/RjW4fvHCkWCuIcDemKyebUyqb1O+A35P0 lXjComE1SnYtJSjVWobgGJm9tgJ8CV8fPMd6KcEohwOdDoq6YSaesA1/CAYirZT7 i65FGpT7Eep3K6rV6XJvZUg2bMQcRL/HmqJekowHsMmxDZ8+lLQ001t5QU0jFY4= =9caN -----END PGP SIGNATURE-----
Index: defaults/periodic.conf =================================================================== --- defaults/periodic.conf (revision 226850) +++ defaults/periodic.conf (working copy) @@ -150,8 +150,8 @@ # 800.scrub-zfs daily_scrub_zfs_enable="NO" daily_scrub_zfs_pools="" # empty string selects all pools -daily_scrub_zfs_default_threshold="30" # days between scrubs -#daily_scrub_zfs_${poolname}_threshold="30" # pool specific threshold +daily_scrub_zfs_default_threshold="35" # days between scrubs +#daily_scrub_zfs_${poolname}_threshold="35" # pool specific threshold # 999.local daily_local="/etc/daily.local" # Local scripts Index: periodic/daily/800.scrub-zfs =================================================================== --- periodic/daily/800.scrub-zfs (revision 226850) +++ periodic/daily/800.scrub-zfs (working copy) @@ -15,7 +15,7 @@ source_periodic_confs fi -: ${daily_scrub_zfs_default_threshold=30} +: ${daily_scrub_zfs_default_threshold=35} case "$daily_scrub_zfs_enable" in [Yy][Ee][Ss])
_______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"