Using --run with incremental assembly ensures that the system will be able to
boot and won't drop to recovery shell when only the minimal number of devices
are present. [1]
[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/tree/ReadMe.c?h=mdadm-4.1#n600
---
nlplug-findfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/nlplug-findfs.c b/nlplug-findfs.c
index f43c295..6fff224 100644
--- a/nlplug-findfs.c
+++ b/nlplug-findfs.c
@@ -488,6 +488,7 @@ static void start_mdadm(char *devnode)
char *mdadm_argv[] = {
MDADM_PATH,
"--incremental",
+ "--run",
"--quiet",
devnode,
NULL
--
2.33.0