tests/zfs-with-vdevs: fix not all vdevs detected

This commit is contained in:
Michael Hoang committed 2026-05-19 23:33:40 +02:00
1 parent e40d944dec
commit 6795806dbc
2 files changed
+55 -43

No files matched your search

+4 -1
View File
@@ -190,7 +190,10 @@ let
"cache=loose"
];
};
boot.zfs.devNodes = "/dev/disk/by-uuid"; # needed because /dev/disk/by-id is empty in qemu-vms
# /dev/disk-by-id is empty in QEMU VMs, /dev/disk/by-uuid only shows one entry
# per ZFS pool as members use the pool's GUID, /dev/disk/by-partuuid only shows
# partitions so LVM backed members are missed. /dev is the only thing that catches all.
boot.zfs.devNodes = "/dev";
# Silence mdadm warning about missing MAILADDR or PROGRAM
boot.swraid.mdadmConf = "PROGRAM ${pkgs.coreutils}/bin/true";