From ce525895047afb8f8f914f0eee2b10d30a3e9dba Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 16 Sep 2024 23:51:16 -0500 Subject: [PATCH] enable smartctl short and long tests on a schedule --- nixos/hosts/gandalf/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/hosts/gandalf/default.nix b/nixos/hosts/gandalf/default.nix index 51cb8d9..2ff50ea 100644 --- a/nixos/hosts/gandalf/default.nix +++ b/nixos/hosts/gandalf/default.nix @@ -91,6 +91,8 @@ in services = { smartd = { devices = smartdDevices; + # Short test every day at 2:00 AM and long test every Sunday at 4:00 AM. + defaults.monitored = "-a -o on -s (S/../.././02|L/../../7/04)"; }; };