From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B34AD138334 for ; Fri, 29 Mar 2019 21:26:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9FA4E08BE; Fri, 29 Mar 2019 21:26:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B0B0BE08BE for ; Fri, 29 Mar 2019 21:26:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8F987335D20 for ; Fri, 29 Mar 2019 21:26:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DBC752F for ; Fri, 29 Mar 2019 21:26:20 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1553894763.7ea94b035c91e0edee183522cdeb51810e043b72.robbat2@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: defaults/initrd.scripts X-VCS-Directories: defaults/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 7ea94b035c91e0edee183522cdeb51810e043b72 X-VCS-Branch: master Date: Fri, 29 Mar 2019 21:26:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b63778f0-7b74-468f-b636-f6f1da2b78a8 X-Archives-Hash: dcc501221cce842498d30e82efea4c48 commit: 7ea94b035c91e0edee183522cdeb51810e043b72 Author: Laurence Perkins zagmail gonzaga edu> AuthorDate: Fri Mar 29 17:48:05 2019 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Fri Mar 29 21:26:03 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=7ea94b03 Intel RST/Matrix RAID support Intel Matrix RAID uses a nested container structure requiring that the array first be assembled, and then the actual storage volumes be activated. Signed-Off-By: Laurence Perkins zagmail.gonzaga.edu> (cherry picked from commit 952ecaffb742fef7422e313af5fa0a4426625e14) Signed-off-by: Robin H. Johnson gentoo.org> defaults/initrd.scripts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index c57f016..5d3a220 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -1074,6 +1074,9 @@ startVolumes() { if [ -x '/sbin/mdadm' ] then /sbin/mdadm --assemble --scan + #Intel Matrix RAID (and possibly others) have a container layer above the actual volumes, + #So we have to look for volumes that haven't been activated. + mdadm -IRs else bad_msg "mdadm not found: skipping mdadm raid assembly!" fi