Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] best practise for 4 disks ... redundancy
Date: Thu, 12 Mar 2015 11:31:05
Message-Id: 550178E5.6020209@xunil.at
In Reply to: Re: [gentoo-user] best practise for 4 disks ... redundancy by Neil Bothwick
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 11.03.2015 23:32, Neil Bothwick wrote:
5 > On Wed, 11 Mar 2015 23:14:49 +0100, Stefan G. Weichinger wrote:
6 >
7 >> Am 11.03.2015 um 17:06 schrieb Neil Bothwick:
8 >>
9 >>>> So RAID1 with vfat as ESP ?
10 >>>
11 >>> That's how I'd do it. I have /boot on RAID1 on this box (but
12 >>> not as FAT and it's a BIOS motherboard) with everything else on
13 >>> a btrfs RAID and it works well.
14 >>
15 >> I will redo my setup tomorrow ... thanks So your suggestion is
16 >> with MBR and not GPT?
17 >
18 > Absolutely not! MBR is fragile, limited and horrible. I use GPT but
19 > not UEFI because this is a pre-UEFI motherboard.
20 >
21 >> I still wonder if to do UEFI and GPT because both are the more
22 >> modern ways of doing things (and be prepared for future
23 >> developments) or just stay with BIOS and MBR as long as I don't
24 >> need it (with disks smaller than 2 TB etc)
25 >
26 > Given the choice, I'd use GPT for the above reasons and UEFI
27 > because Gummiboot is nicer than GRUB.
28
29 I now have a dedicated ESP on /dev/sda2 (non-RAID) and it boots via
30 gummiboot (-> UEFI).
31
32 dracut assembles the arrays after configuring this:
33
34 # /etc/dracut.conf
35
36 add_dracutmodules+="lvm bash mdraid"
37
38 hostonly="yes"
39
40 mdadmconf="yes"
41
42 # the uuids of my two arrays ...
43 kernel_cmdline+=" rd.md.uuid=7663e24a:1a64ce0f:49545629:46742031 "
44 kernel_cmdline+=" rd.md.uuid=8c266e7a:870c97b7:ff199683:6d8c3edb "
45
46 # end
47
48
49 (lvm isn't necessary but doesn't hurt)
50
51 I now wonder if I could
52
53 (a) create a RAID1 over /dev/sd[abcd]2 and format it as vfat ESP
54
55 or
56
57 (b) "clone" /dev/sda2 -> format each /dev/sd[abcd]2 as vfat, copy the
58 content of /boot in there and install gummiboot to each harddisk
59
60 ?
61
62 Stefan
63
64 -----BEGIN PGP SIGNATURE-----
65 Version: GnuPG v2
66
67 iQIcBAEBCAAGBQJVAXjlAAoJEClcuD1V0PzmVhIP/0B2ff9NNznkbkhMDtd850E3
68 lZKWIYSkEYgdznbPF0ODFV/dRZZHKjyAxgeEm1QbhJGRYCbOHMopcCMD2BQ+Cimt
69 Fd0Eful1l2Z7dfr1igPCHHPJxgi65OvXd1KSFF9dSKPXaDe3B+QpG0QTBf+YU83p
70 slAMmxwePXnKxFpZi2o7/7Nfi7SMDmDvJREgLL6BhFdDDQfVeMbsWjvtc2prutVM
71 858Eaou1hXkOc1d0Wkjhkyazw9VmpMyfN92+4YMQ+kWyz+x07WHE0gXMd+tvkTOw
72 sOY7QYwKrsTXHdU5UTfHork+MVV6hJ2cLwj/epYXxU9T8zTEbaCkqlGoHbrGI1qF
73 YCwGy89pkxVx5UZ+/1qSfalp99QiXed9fcDsrh8roHmUzSiQZOCoak9Wi+94S1cL
74 0Jc2vvVq9LUYAYiJ6/poUsZWB4W/LgKiB42YwFFwdoXMI+GIXWfmbB1B0mSnYYaU
75 B+mtuv3trdgpD8+uyLjtmDOzbSBZekqG6RWHCdbh2R7mqmPoM3n8rmIz6R1+1pLy
76 ynDJPot9hKxWaxdzu+SnvhlS/Kj04Qcydo2oav135HyoNJNN0j38E9BiRmYmBBfy
77 CI1+MwR55tTriVgNHF8hEhH1eiqS+l6XE3ymuj+TLk9cKuR4lBtop+NG59r3ygTm
78 miPw7o5+IPgI7bRcJiEV
79 =ge3y
80 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] best practise for 4 disks ... redundancy Neil Bothwick <neil@××××××××××.uk>