From cacc7baa36bd85c8e61ef4dcc0761fa1e754020d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 31 Dec 2021 16:18:13 +0100 Subject: vidhar: prometheus: smartctl: ... --- hosts/vidhar/prometheus.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/vidhar/prometheus.nix b/hosts/vidhar/prometheus.nix index 12f73269..98ef76b6 100644 --- a/hosts/vidhar/prometheus.nix +++ b/hosts/vidhar/prometheus.nix @@ -21,7 +21,7 @@ in { node.enable = true; smartctl = { enable = true; - devices = map (dev: "/dev/${dev}") [ + devices = map (dev: "/dev/disk/by-path/${dev}") [ "pci-0000:00:1f.2-ata-1" "pci-0000:00:1f.2-ata-3" "pci-0000:00:1f.2-ata-4" -- cgit v1.2.3