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
This commit is contained in:
Xin LI 2011-10-27 21:25:41 +00:00
parent 3c20120066
commit 8017fd8eb9
2 changed files with 3 additions and 3 deletions

View File

@ -150,8 +150,8 @@ daily_submit_queuerun="YES" # Also submit queue
# 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

View File

@ -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])