If not installed, you can install it by running the command below apt install mdadm
mdadm is a utility that can be used to manage MD devices aka Linux Software RAID.Ĭheck if the package is installed. Now that we have two disks setup, you can now go ahead and setup software RAID on Ubuntu 20.04.īefore you can proceed, ensure that you have mdadm package installed. parted -a optimal /dev/sdc print Model: ATA VBOX HARDDISK (scsi)ġ 1049kB 4295MB 4294MB primary raid Setup Software RAID on Ubuntu 20.04 Number Start End Size Type File system Flags Sector size (logical/physical): 512B/512B parted -a optimal /dev/sdb print Model: ATA VBOX HARDDISK (scsi)
So how do you setup Software RAID on Ubuntu 20.04? In this tutorial, we will demonstrate how to setup RAID Level 1 on Ubuntu 20.04.
The Linux kernel contains a multiple device (MD) driver that allows the RAID solution to be completely hardware independent. Software RAID is used to implement the various RAID levels in the kernel block device code. This guide focuses on setting up Software RAID on Ubuntu 20.04. There are three possible types of RAID: Firmware RAID, Hardware RAID, and Software RAID.