diff options
| author | lassulus <lassulus@lassul.us> | 2022-08-25 13:13:20 +0200 |
|---|---|---|
| committer | lassulus <lassulus@lassul.us> | 2022-08-25 15:32:09 +0200 |
| commit | 1237ac36db1a457ae561134d191d2924a9ce5ffc (patch) | |
| tree | 893e0455554e2a98244b8a7f94363b11007f0b59 /example/raid.nix | |
| parent | 6b0b20da18cdffd09f04faee7128c557bcb9f054 (diff) | |
fix mdadm mounting, move test to mdadm test
Diffstat (limited to 'example/raid.nix')
| -rw-r--r-- | example/raid.nix | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/example/raid.nix b/example/raid.nix deleted file mode 100644 index 490ea01..0000000 --- a/example/raid.nix +++ /dev/null @@ -1,60 +0,0 @@ -# usage: nix-instantiate --eval --json --strict example/config.nix | jq . -{ - type = "devices"; - content = { - vdb = { - type = "table"; - format = "gpt"; - partitions = [ - { - type = "partition"; - part-type = "primary"; - start = "1MiB"; - end = "100%"; - content = { - type = "mdraid"; - name = "raid1"; - }; - } - ]; - }; - vdc = { - type = "table"; - format = "gpt"; - partitions = [ - { - type = "partition"; - part-type = "primary"; - start = "1MiB"; - end = "100%"; - content = { - type = "mdraid"; - name = "raid1"; - }; - } - ]; - }; - raid1 = { - type = "mdadm"; - level = 1; - content = { - type = "table"; - format = "gpt"; - partitions = [ - { - type = "partition"; - part-type = "primary"; - start = "1MiB"; - end = "100%"; - content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/raid"; - }; - } - ]; - - }; - }; - }; -} |
