I've built machines where /boot is an ordinary partition, but the remaining partition is used in a RAID 1 with a second drive. Most times, though, I set up a separate RAID 1 with two additional drives.
Here's an example of the first setup:
Code:
# mdadm --detail /dev/md0
/dev/md0:
Version : 1.1
Creation Time : Wed Jan 24 17:31:42 2018
Raid Level : raid1
Array Size : 924393472 (881.57 GiB 946.58 GB)
Used Dev Size : 924393472 (881.57 GiB 946.58 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Mon Sep 14 11:12:41 2020
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Name : myserver:0
UUID : 75c8705b:ffad312e:c38afe3a:646c71af
Events : 29301
Number Major Minor RaidDevice State
0 8 4 0 active sync /dev/sda4
1 8 49 1 active sync /dev/sdd1
This device uses a large partition on the boot drive, /dev/sda, and an identically-sized partition on a second drive /dev/sdd. I mount this as /home. /dev/sda1 is /boot, /dev/sda3 is the root of the Linux filesystem.
Here's an example of the second arrangement:
Code:
Version : 1.2
Creation Time : Sat Jun 4 16:00:51 2016
Raid Level : raid1
Array Size : 2930133824 (2794.39 GiB 3000.46 GB)
Used Dev Size : 2930133824 (2794.39 GiB 3000.46 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Mon Sep 14 10:46:27 2020
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Name : bigraid:0
UUID : 7d5eb78b:9387031d:01c42ba3:dd74ca7e
Events : 1101
Number Major Minor RaidDevice State
0 8 33 0 active sync /dev/sdc1
1 8 17 1 active sync /dev/sdb1
This device uses all the space on two, 2 TB, drives, /dev/sdb and /dev/sdc.
Bookmarks