svn commit: r226865 - in head/etc: defaults periodic/daily
Xin LI
delphij at FreeBSD.org
Thu Oct 27 21:25:42 UTC 2011
Author: delphij
Date: Thu Oct 27 21:25:41 2011
New Revision: 226865
URL: http://svn.freebsd.org/changeset/base/226865
Log:
Increase default scrub threshold from 30 days to 5 weeks. Using
whole weeks makes it easier to predicate when the scrub would
happen.
MFC after: 1 week
Modified:
head/etc/defaults/periodic.conf
head/etc/periodic/daily/800.scrub-zfs
Modified: head/etc/defaults/periodic.conf
==============================================================================
--- head/etc/defaults/periodic.conf Thu Oct 27 20:54:53 2011 (r226864)
+++ head/etc/defaults/periodic.conf Thu Oct 27 21:25:41 2011 (r226865)
@@ -150,8 +150,8 @@ daily_submit_queuerun="YES" # Also su
# 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
Modified: head/etc/periodic/daily/800.scrub-zfs
==============================================================================
--- head/etc/periodic/daily/800.scrub-zfs Thu Oct 27 20:54:53 2011 (r226864)
+++ head/etc/periodic/daily/800.scrub-zfs Thu Oct 27 21:25:41 2011 (r226865)
@@ -15,7 +15,7 @@ then
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])
More information about the svn-src-head
mailing list