From 48eefd21e85dfdf8f41193295ee3175099c199c2 Mon Sep 17 00:00:00 2001 From: Christoph Klaffl Date: Mon, 14 Dec 2020 20:57:34 +0100 Subject: [PATCH] don't try to parse stats for spares which are in use as there are none --- sanoid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanoid b/sanoid index 041445c..1972bda 100755 --- a/sanoid +++ b/sanoid @@ -1239,7 +1239,7 @@ sub check_zpool() { ## no display for verbose level 1 next if ($verbose==1); ## don't display working devices for verbose level 2 - if ($verbose==2 && ($state eq "OK" || $sta eq "ONLINE" || $sta eq "AVAIL" || $sta eq "INUSE")) { + if ($verbose==2 && ($state eq "OK" || $sta eq "ONLINE" || $sta eq "AVAIL")) { # check for io/checksum errors my @vdeverr = ();