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:
parent
3c20120066
commit
8017fd8eb9
@ -150,8 +150,8 @@ daily_submit_queuerun="YES" # Also submit queue
|
|||||||
# 800.scrub-zfs
|
# 800.scrub-zfs
|
||||||
daily_scrub_zfs_enable="NO"
|
daily_scrub_zfs_enable="NO"
|
||||||
daily_scrub_zfs_pools="" # empty string selects all pools
|
daily_scrub_zfs_pools="" # empty string selects all pools
|
||||||
daily_scrub_zfs_default_threshold="30" # days between scrubs
|
daily_scrub_zfs_default_threshold="35" # days between scrubs
|
||||||
#daily_scrub_zfs_${poolname}_threshold="30" # pool specific threshold
|
#daily_scrub_zfs_${poolname}_threshold="35" # pool specific threshold
|
||||||
|
|
||||||
# 999.local
|
# 999.local
|
||||||
daily_local="/etc/daily.local" # Local scripts
|
daily_local="/etc/daily.local" # Local scripts
|
||||||
|
@ -15,7 +15,7 @@ then
|
|||||||
source_periodic_confs
|
source_periodic_confs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
: ${daily_scrub_zfs_default_threshold=30}
|
: ${daily_scrub_zfs_default_threshold=35}
|
||||||
|
|
||||||
case "$daily_scrub_zfs_enable" in
|
case "$daily_scrub_zfs_enable" in
|
||||||
[Yy][Ee][Ss])
|
[Yy][Ee][Ss])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user