From 6dd946204d70ac11bc670aa659c24df930d1b9c4 Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Sat, 1 Jul 2023 14:28:49 +0100 Subject: [PATCH] tywin: enable weekly zfs scrubs --- hosts/tywin.storage.ts.hillion.co.uk/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/tywin.storage.ts.hillion.co.uk/default.nix b/hosts/tywin.storage.ts.hillion.co.uk/default.nix index 6885bdc..9668a23 100644 --- a/hosts/tywin.storage.ts.hillion.co.uk/default.nix +++ b/hosts/tywin.storage.ts.hillion.co.uk/default.nix @@ -33,6 +33,11 @@ }; boot.kernelParams = [ "zfs.zfs_arc_max=25769803776" ]; + services.zfs.autoScrub = { + enable = true; + interval = "Tue, 02:00"; + }; + fileSystems."/mnt/d0".options = [ "x-systemd.mount-timeout=3m" ]; ## Resilio