From 74b7e90a34d0907f0d345e378d8fdb25bbe78d98 Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 7 Jul 2024 02:32:44 +0000 Subject: [PATCH] check-uninsane: check zfs pool for errors --- scripts/check-uninsane | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/check-uninsane b/scripts/check-uninsane index 6827102f5..62c8475e6 100755 --- a/scripts/check-uninsane +++ b/scripts/check-uninsane @@ -98,7 +98,11 @@ check "git.uninsane.org" git ls-remote https://git.uninsane.org/colin/nix-files. check "ftps://ftp.uninsane.org" curl --silent ftps://ftp.uninsane.org/pub/test check "[DOOF] ftps://ftp.uninsane.org" curl "--connect-to" "ftp.uninsane.org:80:$DOOF_IPV4:80" --silent ftps://ftp.uninsane.org/pub/test -check "Bitcoing Lightning" runOnHost servo clightning-sane status +_zpoolStatus() { + runOnHost servo zpool status | grep "errors: No known data errors" +} +check "zfs" _zpoolStatus +check "Bitcoin Lightning" runOnHost servo clightning-sane status echo "" echo "systemctl --failed:"