summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-12-23 12:37:57 +0100
committerJörg Thalheim <joerg@thalheim.io>2022-12-23 17:30:25 +0100
commit8b30cb18239f63ebe6243dc4e4939001d21345a1 (patch)
tree7e6f0a9d1a8f63a70e977396ee54ccfe924c3ad6
parent936beccf8c033f7c86718c8f7df80cc5a00e1526 (diff)
mdadm: add single-disk raid support
-rw-r--r--types.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/types.nix b/types.nix
index a82e0f8..41a7c13 100644
--- a/types.nix
+++ b/types.nix
@@ -1135,6 +1135,7 @@ rec {
--level=${toString config.level} \
--raid-devices=''${RAIDDEVICES_N_${config.name}} \
--metadata=${config.metadata} \
+ --force \
--homehost=any \
''${RAIDDEVICES_${config.name}}
udevadm trigger --subsystem-match=block; udevadm settle