From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice via Bug reports for GNU Guix Subject: bug#38086: RAID installation script with =?UTF-8?Q?=E2=80=98mdadm=E2=80=99?= no longer works Date: Sat, 18 Jan 2020 23:03:13 +0100 Message-ID: <87h80sbexq.fsf@nckx> References: <87sgn18g92.fsf@inria.fr> <877e46m1qd.fsf@gnu.org> <87r1zx902a.fsf@yucca> <87lfq4v3nb.fsf@gnu.org> Reply-To: Tobias Geerinckx-Rice Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35546) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iswCJ-0000Sm-4z for bug-guix@gnu.org; Sat, 18 Jan 2020 17:04:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iswCI-00067l-3n for bug-guix@gnu.org; Sat, 18 Jan 2020 17:04:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iswCI-00067f-1M for bug-guix@gnu.org; Sat, 18 Jan 2020 17:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iswCH-0003BG-TG for bug-guix@gnu.org; Sat, 18 Jan 2020 17:04:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87lfq4v3nb.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Vagrant Cascadian , 38086@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s =E5=86=99=E9=81=93=EF=BC=9A > As you can see, it=E2=80=99s attempting to make a RAID1 device out of=20 > two > partitions (not two disks), which makes no sense in the real=20 > world, but > is easier to handle here. So I wonder if this is what=E2=80=99s causing= =20 > it to > hang=E2=80=A6 It's just waiting for input: $ # dd & losetup magic, where loop0 is 20% larger than loop1 $ sudo mdadm --create /dev/md0 --verbose --level=3Dmirror=20 --raid-devices=3D2 /dev/loop{0,1} mdadm: Note: this array has metadata at the start and may not be suitable as a boot device. If you plan to store '/boot' on this device please ensure that your boot-loader understands md/v1.x metadata, or use --metadata=3D0.90 mdadm: size set to 101376K mdadm: largest drive (/dev/loop1) exceeds size (101376K) by more=20 than 1% Continue creating array? Adding --force does not avoid this. I recommend tweaking the partition table to make both members=20 equal, but a =E2=80=98yes|=E2=80=99 also works if you're in a hurry ;-) Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl4jgKEACgkQ2Imw8BjF STyvYw/+M3VniY/3EnWypbLcneJqx+II8GDA3HwmhvI9q+4PWqpK6ZAMzxTEt1Cs QvCiXgmsX3EnjyRTtEaGil/o16QsBJdDeF4HGK//MStM2OEQY7Tix273X0DGJvKK kB1RhOhZjsXEUtnndOfGpNCDQClW4UD6Ht4WaxWstSWzdk5Cx4Gpy5+B+wdf2zYp gxDzCAHb6yrvk43y7MP0KjxowmJlIEKWr0Js2j7sZUr34Fmj1jSVQF4tUVezY6rX 6WtjEdPc0Flx6smiq6uN7YDup+ntGmDL/3lqHtUL+t2hwQ8hmjAR4b8A5hFhL8Cx lTZxzEp2a43nkR7mN9+OF0qZYSVkrJ57/y0GQAkt4FkSAYYHXPkyax4S9v/v9Xyf 7OV06DTBLDOjY26EweViKcGLqUqQ5lJ0jY1qK7oI/uV3r+viq7XohA9Xa43Szosd iSegtOuyVtBk9Nc5RaBoOTjB2lws022rtucKunrKeM/WZKRHihZOOLgKrg3OgvBo fMK6FPNArvm5YK8+fDdGcOJXKCictWIYPWMqZtS8lAnameN2GvyulzO+4oOFhtUo 0ZohpXeg/Zhb2SwhddzsRzXeQ8O2h3XcwAXj3kO2zDD4E2CZ+bGq5koNtk3VkvMA mUB8BUk0dSrGDtyoripoje+bl0SmmX2ZORepCNG/2I5jrPl8xEg= =x/c4 -----END PGP SIGNATURE----- --=-=-=--