Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2015 21:59:38 +0000 (UTC)
From:      Kurt Lidl <lidl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r292673 - stable/10/etc/periodic/daily
Message-ID:  <201512232159.tBNLxcAv090654@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lidl
Date: Wed Dec 23 21:59:38 2015
New Revision: 292673
URL: https://svnweb.freebsd.org/changeset/base/292673

Log:
  MFC r292313:
  
  Skip unavailable pools when running zfs pool scrubs
  
  Approved by:	rpaulo (mentor)

Modified:
  stable/10/etc/periodic/daily/800.scrub-zfs
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/periodic/daily/800.scrub-zfs
==============================================================================
--- stable/10/etc/periodic/daily/800.scrub-zfs	Wed Dec 23 21:57:26 2015	(r292672)
+++ stable/10/etc/periodic/daily/800.scrub-zfs	Wed Dec 23 21:59:38 2015	(r292673)
@@ -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?201512232159.tBNLxcAv090654>