Date: Fri, 5 Feb 2016 14:16:43 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r295318 - stable/9/etc/periodic/daily Message-ID: <201602051416.u15EGhsK032180@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Fri Feb 5 14:16:42 2016 New Revision: 295318 URL: https://svnweb.freebsd.org/changeset/base/295318 Log: MFC r292313 (by lidl): Skip unavailable pools when running zfs pool scrubs Modified: stable/9/etc/periodic/daily/800.scrub-zfs Directory Properties: stable/9/ (props changed) stable/9/etc/ (props changed) Modified: stable/9/etc/periodic/daily/800.scrub-zfs ============================================================================== --- stable/9/etc/periodic/daily/800.scrub-zfs Fri Feb 5 11:28:35 2016 (r295317) +++ stable/9/etc/periodic/daily/800.scrub-zfs Fri Feb 5 14:16:42 2016 (r295318) @@ -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?201602051416.u15EGhsK032180>