diff options
author | Alex Sivchev <enn00th@gmail.com> | 2021-09-02 10:30:48 +0300 |
---|---|---|
committer | Alex Sivchev <enn00th@gmail.com> | 2021-09-09 09:47:12 +0300 |
commit | 4e051c84d07fd56474730c8e9fe650caaeb22f67 (patch) | |
tree | d34ef22e655257a96a7f85c9b1bb2b7caa888568 | |
parent | 98060c41185361a16ea2cad78dca996b85e4df63 (diff) |
nlplug-findfs: start mdadm with --run
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
-rw-r--r-- | nlplug-findfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |