From 13b0e7593e8f29c573d3c8cb147a2ba6f1912c58 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Sat, 15 Jun 2024 10:08:52 +0200 Subject: [PATCH] Arion: Fix nvme drive not being recognized by smartctl --scan When attaching NVMe devices using `--device=/dev/nvme..`, make sure to provide the device controller (`/dev/nvme0`) instead of the block device (`/dev/nvme0n1`) --- hosts/franz/arion/infrastructure/arion-compose.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/franz/arion/infrastructure/arion-compose.nix b/hosts/franz/arion/infrastructure/arion-compose.nix index 54337f3..f48029c 100644 --- a/hosts/franz/arion/infrastructure/arion-compose.nix +++ b/hosts/franz/arion/infrastructure/arion-compose.nix @@ -79,7 +79,7 @@ "scrutiny_db:/opt/scrutiny/influxdb" ]; devices = [ - "/dev/nvme0n1" + "/dev/nvme0" "/dev/sda" "/dev/sdb" "/dev/sdc"