svn commit: r292673 - stable/10/etc/periodic/daily
Kurt Lidl
lidl at FreeBSD.org
Wed Dec 23 21:59:39 UTC 2015
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
More information about the svn-src-stable-10
mailing list