Solved periodic/daily/800.scrub-zfs errors

Could anybody help me understand what am I seeing in this error messages. This was TrueOS 10.0.3 release updated to FreeBSD 10.0p19 (that should be very close to 10.1 release less than UFI boot nonsense and few other things)

Code:
/etc/periodic.conf: daily_scrub_zfs__threshold=7: not found
/etc/periodic.conf: daily_scrub_zfs__threshold=15: not found
/etc/periodic.conf: daily_scrub_zfs__threshold=7: not found
/etc/periodic.conf: daily_scrub_zfs__threshold=15: not found
/etc/periodic.conf: daily_scrub_zfs__threshold=7: not found
/etc/periodic.conf: daily_scrub_zfs__threshold=15: not found

Removing stale files from /var/preserve:
/etc/periodic.conf: daily_scrub_zfs__threshold=7: not found
/etc/periodic.conf: daily_scrub_zfs__threshold=15: not found

Cleaning out old system announcements:
/etc/periodic.conf: daily_scrub_zfs__threshold=7: not found
/etc/periodic.conf: daily_scrub_zfs__threshold=15: not found

Removing stale files from /var/rwho:
/etc/periodic.conf: daily_scrub_zfs__threshold=7: not found
/etc/periodic.conf: daily_scrub_zfs__threshold=15: not found

Backup passwd and group files:

Verifying group file syntax:
/etc/group is fine
/etc/periodic.conf: daily_scrub_zfs__threshold=7: not found
/etc/periodic.conf: daily_scrub_zfs__threshold=15: not found

Backing up mail aliases:
/etc/periodic.conf: daily_scrub_zfs__threshold=7: not found
/etc/periodic.conf: daily_scrub_zfs__threshold=15: not found
/etc/periodic.conf: daily_scrub_zfs__threshold=7: not found
/etc/periodic.conf: daily_scrub_zfs__threshold=15: not found
 
Good call! I completely forgot where I set things two months ago. It doesn't look correct when I look now.
Code:
daily_status_zfs_enable="YES"                           # Check ZFS
daily_status_ntpd_enable="YES"                          # Check NTP status

# 800.scrub-zfs
daily_scrub_zfs_enable="YES"
daily_scrub_zfs_pools="tank     storage"                        # empty string s
elects all pools
daily_scrub_zfs_default_threshold="15"          # days between scrubs
daily_scrub_zfs_${tank}_threshold="7"   # pool specific threshold
daily_scrub_zfs_${storage}_threshold="15"       # pool specific threshold
 
Should those last two lines be set statically rather than using a variable?
Code:
daily_scrub_zfs_tank_threshold="7"     # pool specific threshold
daily_scrub_zfs_storage_threshold="15" # pool specific threshold
 
  • Thanks
Reactions: Oko
I over did it since
Code:
daily_scrub_zfs_default_threshold="15"
is good enough for both pools :)
 
Back
Top