Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2011 21:25:41 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r226865 - in head/etc: defaults periodic/daily
Message-ID:  <201110272125.p9RLPfQb026162@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110272125.p9RLPfQb026162>