From 4d0e3681cb231d3aa193a3999a58b93ebbbd1545 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sat, 22 Nov 2025 11:42:34 +0100 Subject: [PATCH] manatee: Add new `vdev` to `zpool` --- hosts/manatee/disk-config.nix | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/hosts/manatee/disk-config.nix b/hosts/manatee/disk-config.nix index a0aa1c8..3ec1dcf 100644 --- a/hosts/manatee/disk-config.nix +++ b/hosts/manatee/disk-config.nix @@ -149,6 +149,39 @@ }; }; }; + disk3 = { + type = "disk"; + device = "/dev/disk/by-id/ata-TOSHIBA_MG10ACA20TE_85K2A0UCF4MJ"; + content = { + type = "gpt"; + partitions = { + zfs = { + size = "100%"; + content = { + type = "zfs"; + pool = "storage"; + }; + }; + }; + }; + }; + + disk4 = { + type = "disk"; + device = "/dev/disk/by-id/ata-TOSHIBA_MG10ACA20TE_85K2A0V6F4MJ"; + content = { + type = "gpt"; + partitions = { + zfs = { + size = "100%"; + content = { + type = "zfs"; + pool = "storage"; + }; + }; + }; + }; + }; }; zpool = { @@ -166,6 +199,13 @@ "disk2" ]; } + { + mode = "mirror"; + members = [ + "disk3" + "disk4" + ]; + } ]; }; };