Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 8A0AB782BE2 for ; Thu, 2 Sep 2021 09:04:10 +0000 (UTC) Received: by mail-ed1-f51.google.com with SMTP id q17so1820746edv.2 for ; Thu, 02 Sep 2021 02:04:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:subject:to:message-id:date:mime-version:content-language :content-transfer-encoding; bh=Jbq1yUgu9Ic2CQrH+wt3zpq/2vCi4tgjJm5BwnQoCrs=; b=TLQfQlYXPEpik02EyLwwyM1AYlEHEkx4jSpERAT2oi+mT3j0lyW19zvq496oMjC0U3 p15yG9zdwyTxu/m4iFoPDfc37HD9AeQelUQYCJbUxImau4vMFgTfiKbmMUfqxGhZdljk bNf/Am6bj6WT7RQlJy2bZh1793AKZuEm9TQQjsZJJ1q0ZgWHrMpSbBF4FMPPE1OQHkhb ISECdENIB17OmDMFZOg6jKSY/Rov6hYjQiKsx14VhMw91hJ7WGAXyLu1kgQliXAQBoST 805OQf1gXTOZIW86O6cqCV5rQcLPeZgkqWoGBkHY+qr3BKdERbeybwaB6EmbMK+5rHPN qsqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:mime-version :content-language:content-transfer-encoding; bh=Jbq1yUgu9Ic2CQrH+wt3zpq/2vCi4tgjJm5BwnQoCrs=; b=KPHUAWfnc8ee+YHl+iZ1dssnYos4nuv0C8v/b1mAo5y2bIWjvvrJ1I75KF270kyYBd jr9CniUH63v8ypol1zs4K1X7HyCu1q/JwEERLZrWHb5v4VJZ+NYLQAT7jSlvyclW12gd j6PIl3J1UiVpQH+0Ycv4BbbIDwLRhFygCSRwG3M3CByVi+BM6rkE6bCM215S7rDR8uvL aaWEhJfTf886foJml3EvbyIBq9A9Z1bQy/2E/jXm/MmPWkjsCqlG8hHkF43c2K6A12im HcLD/Fo6dvYfr7R5bjKOwvc0HQqZXSdSP991eW+j2HoEpSO57bt6no8RsH8M03ObeXiC OSTw== X-Gm-Message-State: AOAM530D6XYImfnKtEoiFIfs8JslWmbnPQ1dKwfBrPHiHNXwrw0LDNs3 FeFRbR5JMa6ADymxnlznbSl0Kz9i48A= X-Google-Smtp-Source: ABdhPJxi5yszSXQfZ1fMO1A2RxxXP58Bd92EZpwt2PsZzGaIJrAr3ExQ0S/MHlR8mxI9yhGN0Rdymg== X-Received: by 2002:aa7:c903:: with SMTP id b3mr2499436edt.23.1630573449563; Thu, 02 Sep 2021 02:04:09 -0700 (PDT) Received: from [127.0.0.1] ([151.251.248.152]) by smtp.gmail.com with ESMTPSA id ck4sm710239edb.67.2021.09.02.02.04.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Sep 2021 02:04:09 -0700 (PDT) From: Alex Sivchev Subject: [PATCH] nlplug-findfs: start mdadm with --run To: alpine-devel@alpinelinux.org Message-ID: Date: Thu, 2 Sep 2021 12:04:07 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit 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