From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4ADEB138CBD for ; Wed, 11 Mar 2015 11:09:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09988E099C; Wed, 11 Mar 2015 11:09:34 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 61C5EE0973 for ; Wed, 11 Mar 2015 11:09:32 +0000 (UTC) Received: from digimed.co.uk (shooty.digimed.co.uk [192.168.1.8]) by mail.digimed.co.uk (Postfix) with ESMTPA id 962C128ACB for ; Wed, 11 Mar 2015 11:09:31 +0000 (GMT) Date: Wed, 11 Mar 2015 11:09:29 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] best practise for 4 disks ... redundancy Message-ID: <20150311110929.5fdb4970@digimed.co.uk> In-Reply-To: <54FFE4A2.3060008@xunil.at> References: <54FFE4A2.3060008@xunil.at> Organization: Digital Media Production X-Mailer: Claws Mail 3.11.1-75-g9971ef (GTK+ 2.24.27; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/KBcH.BWSMlDRnnLIJM=n/AZ"; protocol="application/pgp-signature" X-Archives-Salt: edebd9da-5ca0-4f78-9608-713c17489a78 X-Archives-Hash: 604bb84d32fa05464a7e1a5e2fa9c785 --Sig_/KBcH.BWSMlDRnnLIJM=n/AZ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 11 Mar 2015 07:45:54 +0100, Stefan G. Weichinger wrote: > yesterday I received a shiny new server for a client. >=20 > It brings 4 x 1 TB SATA disks, is capable of UEFI and I started setting > it up. >=20 > GPT partitioning, small partition(s) for the ESP, some swap, and bigger > partitions of type fd=3Draid for creating 2 mdadm-raids (rootfs and data) > with level 6. >=20 > ok so far. >=20 > Then I spent some hours fiddling with grub2, gummiboot et al to get that > box booting up fine. dracut doesn't assemble the rootfs-raid etc etc ... > -> fun I found this with a LUKS root filesystem, dracut doesn't automatically detect such devices any more, so speed up the boot. You need to specify rd.auto or rd.mdraid to force it. > even if I manage to have it booting via UEFI from /dev/sda1 or so ... I > still have this single point of failure as the vfat-partitioned ESP is > on one physical disk only. >=20 > I would like to set it up in a way that it boots even when the /dev/sda > dies ... I generally set up boot on a RAID1 across all disks. You can still access individual disks in a RAID1 array, so you can set your computer to boot from sda1 then sda2 etc but mount /boot on the array, so all updates are pushed to all four disks. =20 --=20 Neil Bothwick I distinctly remember forgetting that. --Sig_/KBcH.BWSMlDRnnLIJM=n/AZ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlUAImkACgkQum4al0N1GQO5owCeNM94N4EGm1DBYqsXZsfBtwvi 90sAn20irT/79laWhkc7FOKf3o4eHfST =5t4P -----END PGP SIGNATURE----- --Sig_/KBcH.BWSMlDRnnLIJM=n/AZ--