Aktionen
Howto mdadm » Historie » Revision 2
« Zurück |
Revision 2/5
(Vergleich)
| Weiter »
Jeremias Keihsler, 17.09.2024 10:58
Howto mdadm¶
lsblk is your best friend
lsblk
we are going to use partitions as base for the raid
create Linux RAID partitions¶
fdisk /dev/nvme0n1
create new GPT disklabel¶
g
create new partion¶
n
change type to Linux RAID¶
t
29
repeat for all drives e.g. /dev/nvme0n1
and /dev/nvme1n1
check with lsblk
create Raid¶
mdadm --create /dev/md20 --level=1 --raid-devices=2 /dev/nvme0n1p1 /dev/nvme1n1p1
check with lsblk
create filesystem on Raid¶
mkfs.xfs /dev/md20
Von Jeremias Keihsler vor 2 Monaten aktualisiert · 2 Revisionen