Date: Wed, 16 Dec 2015 04:32:33 +0000 (UTC) From: Kurt Lidl <lidl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r292313 - head/etc/periodic/daily Message-ID: <201512160432.tBG4WXNK057263@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lidl Date: Wed Dec 16 04:32:33 2015 New Revision: 292313 URL: https://svnweb.freebsd.org/changeset/base/292313 Log: Skip unavailable pools when running zfs pool scrubs Approved by: rpaulo (mentor) Differential Revision: https://reviews.freebsd.org/D4588 Modified: head/etc/periodic/daily/800.scrub-zfs Modified: head/etc/periodic/daily/800.scrub-zfs ============================================================================== --- head/etc/periodic/daily/800.scrub-zfs Wed Dec 16 03:59:54 2015 (r292312) +++ head/etc/periodic/daily/800.scrub-zfs Wed Dec 16 04:32:33 2015 (r292313) @@ -43,6 +43,10 @@ case "$daily_scrub_zfs_enable" in rc=3 echo "Skipping faulted pool: ${pool}" continue ;; + *UNAVAIL*) + rc=4 + echo "Skipping unavailable pool: ${pool}" + continue ;; esac # determine how many days shall be between scrubs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512160432.tBG4WXNK057263>