From 7e9b7dcdc55dadfe5914e91bd692df891a892787 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Thu, 19 Aug 2010 09:00:17 +0000 Subject: MFC r209195: Add a periodic zfs scrub script. Features: - configurable amount of days between scrubs (default value or per pool) - do not scrub directly after pool creation (respects the configured number of days between scrubs) - do not scrub if a scrub is in progress - tells how to see the status of the scrub - tells how many days since the last scrub if it skips the scrubbing - warns if a non-existent pool is specified explicitely (default: no pools specified -> all currently imported pools are handled) - runs late in the periodic run to not slow down the other periodic daily scripts r209250: - connect the zfs scrub script - move the zfs status script into the MK_ZFS conditional to respect WITHOUT_ZFS r209253: Add the ZFS periodic daily scripts to the ZFS part. (make delete-old) Requested by: "J. Hellenthal" PR: 149271 --- tools/build/mk/OptionalObsoleteFiles.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 5688a5fac07c..8a5db1d4b1e0 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -344,6 +344,8 @@ OLD_FILES+=usr/lib/libuutil.so .if ${MK_ZFS} == no OLD_LIBS+=lib/libzfs.so.1 OLD_LIBS+=lib/libzpool.so.1 +OLD_FILES+=etc/periodic/daily/404.status-zfs +OLD_FILES+=etc/periodic/daily/800.scrub-zfs OLD_FILES+=sbin/zfs OLD_FILES+=sbin/zpool OLD_FILES+=usr/lib/libzfs.a -- cgit v1.3