Get mirror config working
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user