Get mirror config working

This commit is contained in:
Raphaël Numbus
2026-01-10 12:29:44 +01:00
parent 1018610252
commit e5b0930175
2 changed files with 26 additions and 3 deletions
+3 -2
View File
@@ -6,7 +6,7 @@
type = "gpt";
partitions = {
"data-1" = {
size = "100%";
size = "$PARTITION_SIZE";
content = {
type = "luks";
name = "crypted-content-1";
@@ -27,7 +27,7 @@
type = "gpt";
partitions = {
"parity-1" = {
size = "100%";
size = "$PARTITION_SIZE";
content = {
type = "luks";
name = "crypted-parity-1";
@@ -48,6 +48,7 @@
"data-storage" = {
type = "mdadm";
level = 1;
postCreateHook = "mdadm --grow /dev/md/data-storage --bitmap=internal";
content = {
type = "filesystem";
format = "xfs";