mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 13:33:28 +01:00
tests/zfs-with-vdevs: fix not all vdevs detected
This commit is contained in:
1 parent
e40d944dec
commit
6795806dbc
2 files changed
+55
-43
No files matched your search
+4
-1
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user