summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2022-12-23 16:31:01 +0000
committerGitHub <noreply@github.com>2022-12-23 16:31:01 +0000
commit3ab2a5d98df92f8b5eceee71dd1beb4678da409b (patch)
tree7e6f0a9d1a8f63a70e977396ee54ccfe924c3ad6
parent936beccf8c033f7c86718c8f7df80cc5a00e1526 (diff)
parent8b30cb18239f63ebe6243dc4e4939001d21345a1 (diff)
Merge pull request #90 from nix-community/kuutamo
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