[CentOS] Booting Software RAID

Mon Jan 27 19:50:27 UTC 2014
m.roth at 5-cent.us <m.roth at 5-cent.us>

Adrian Sevcenco wrote:
> On 01/27/2014 08:42 PM, Les Mikesell wrote:
>> On Mon, Jan 27, 2014 at 12:33 PM, Adrian Sevcenco
>> <Adrian.Sevcenco at cern.ch> wrote:
>>>
>>> for quite some time (since 5.x era) i use
>>> http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1
>>> (with 6.x i don't even need the patch to mkinitrd)
>>>
>>> the mbr or whatever it is is written in /dev/md_d0 .. and thats it
>>> in bios you put both hdd to boot and if the first have a problem the
>>> second will boot, mail you that you have a degraded raid and start
>>> resync after you replaced the drive. (and you can do it live)
>>
>> Does that all work the same for drives > 2 TB?
> i have no idea .. it should .. my use cases at work are the boot drives
(all under 500 GB)
> and home (but i have no hdd > 2 TB)
>
> basically it is a raid over a block device so it does/should not matter
> what you write into it...
>
As I noted in a previous post, it's got to be GPT, not MBR - the latter
doesn't understand > 2TB, and won't.

On a related note, what we've started doing at work is partitioning our
root drives four ways, as they're now mostly 2TB that we're putting in,
instead of three: /boot, swap, and /, with that as 1G, 2G, and 500G, and
the rest of the drive separate. We like protecting /, while leaving more
than enough space for logs that suddenly run away. At home, I'll probably
do less for /, perhaps 100G.

       mark