Index: head/etc/periodic/daily/800.scrub-zfs =================================================================== --- head/etc/periodic/daily/800.scrub-zfs +++ head/etc/periodic/daily/800.scrub-zfs @@ -43,6 +43,10 @@ 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