High Performance Starts Here — AMD Dedicated Servers

English

Home

Blog

How To Create Software RAID 10 on Ubuntu...

How To Create Software RAID 10 on Ubuntu 20.04 Server

How To Create Software RAID 10 on Ubuntu 20.04 Server

NetShop ISP

NetShop ISP · Blog Author

Jan 26, 2022 · Technical Tutorials

In this tutorial, you will learn how to setup software RAID on Ubuntu 20.04. Whilst hardware RAID may offer better performance and interoperability than software RAID, the latter is cheaper as no Hardware RAID controller is needed. Additionally, software raid gives users the flexibility to configure arrays without being restricted by hardware due to a special multiple device (MD) driver that is contained in Linux kernels.

Ubuntu 20.04 installation wizard

About RAID Level 10 (mirroring+stripping)

RAID10, also known as RAID 1+0, is a RAID configuration that combines disk mirroring and disk striping to protect data. It requires a minimum of four disks and stripes data across mirrored pairs. If two disks in the same mirrored pair fail, all data will be lost as there is no parity in the striped sets.

Create Software RAID10 on Ubuntu 20.04

While it is possible to configure software raid on an existing Ubuntu installation using the mdadm tool, in this tutorial we will demonstrate how to do it during the Ubuntu 20.04 installation.

Step 1 – Guided Storage Configuration

Once prompted for disk partitioning, choose Custom Storage Layout

Ubuntu 20.04 Guided Storage Configuration

Step 2 – Create swap

In this step you need to create a swap partition for each individual disk. To do so, click the first device, hit Enter and then choose the option “Add a GPT Partition”.

Ubuntu 20.04 Add GPT Partition for swap

Type 4G to allocate 4 Gigabytes for your swap partition.

Ubuntu 20.04 allocate swap space

Repeat Step 2 for all your disk devices so that you create a 4G swap partition for all of them.

Once you have completed Step 2 for all devices, your partitioning layout should look like this:

Ubuntu 20.04 create swap partition on each disk

Step 3 – Create partitions

At this point we are ready to create the partition for each of our devices. From the available devices section, click the first device, hit Enter and then choose “Add a GPT Partition”.

Size: use the max value indicated

Format: choose “Leave unformatted”

Mount: choose “Leave unmounted”

Ubuntu 20.04 Create partitions wizard

Repeat Step 3 for all of your devices.

Step 4 – Create Software RAID10

Choose “Create software RAID (md)” and you will be prompted to a menu screen as follows:

Ubuntu 20.04 Create Software RAID

Choose RAID Level: 10 and mark the partitions to be included in the RAID.

Ubuntu 20.04 Allocate partitions for RAID10

Step 5 – Create root and boot partitions

Click your newly created RAID10 partition (md0 in our example) to create the root “/” and boot partitions as shown below. Then hit [ Done ] to continue with the Ubuntu 20.04 installation.

Deploy Ubuntu 20.04 on a Cloud Server

NetShop ISP’s global cloud infrastructure is popular for deploying virtual server instances with fixed or customized specifications.

To deploy Ubuntu 20.04 on the Cloud simply choose your desired VPS plan and during Checkout choose “Ubuntu 20.04” Operating System. Upon order completion your Ubuntu cloud server will be up and running in less than 60 seconds.

Recommended Server Specifications for Ubuntu 20.04 Server edition

The recommended system requirements are:

  • CPU: 1 GHz or better
  • RAM: 1 GB or more
  • Disk: minimum of 2.5 GB

how to
linux
raid
tutorials
ubuntu
Press Releases
97

Free VPS Trial

No Credit Card Required.

Start Your VPS Hosting Free Trial

Recent Posts

Hermes AI Agent VPS - Deploy in 1 Click

Introducing Hermes Agent VPS: Your Own AI Agent, Live in One Click

22 July 2026

How To Protect Your Website from DDoS Attacks in 2026

How To Protect Your Website from DDoS Attacks in 2026

14 July 2026

Why Your Stream Keeps Buffering (And How to Fix It)

Why Your Stream Keeps Buffering (And How to Fix It)

08 July 2026

How to Secure Your WordPress Website in 2026

How to Secure Your WordPress Website in 2026

30 June 2026

How To Fix Outdated Theme on cPanel / WHM

Why Your cPanel or WHM Login Page Is Showing an Outdated Theme (And How to Fix It)

22 June 2026