NEW LOCATION

Olá Brazil Brazil NVMe-powered VPS Plans in Brazil Now Available.

Deploy Instantly
  • +357 2425 0808
  • Login
  • 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

Press Releases
77

Free VPS Trial

No Credit Card Required.

Recent Posts

NetShop ISP Celebrates 20 Years of Innovation and Excellence in Hosting and Data Center Solutions

NetShop ISP Celebrates 20 Years of Innovation and Excellence in Hosting and Data Center Solutions

22 October, 2024

NetShop ISP Makes Waves at Forex Expo Dubai 2024: Showcasing Cutting-Edge Hosting for the Financial Services Industry

NetShop ISP Makes Waves at Forex Expo Dubai 2024: Showcasing Cutting-Edge Hosting for the Financial Services Industry

09 October, 2024

The Importance of Server Backups: Ensuring Data Security and Business Continuity

The Importance of Server Backups: Ensuring Data Security and Business Continuity

24 September, 2024

The Critical Role of Server Time Synchronization in MetaTrader 5 (MT5) Cluster

The Critical Role of Server Time Synchronization in MetaTrader 5 (MT5) Cluster

04 September, 2024

NetShop ISP Expands Global Cloud Footprint in São Paulo, Brazil (LatAm)

NetShop ISP Expands Global Cloud Footprint in São Paulo, Brazil (LatAm)

30 August, 2024

#letushostyou

Award Winning Hosting Provider established in 2004.

120 Faneromenis Avenue, Imperial Tower, 2nd Floor, Larnaca 6031, Cyprus

Products

Bare Metal Servers

Customized Servers

Virtual / Cloud Servers

Forex VPS

Storage VPS

cPanel Web Hosting

Reseller Web Hosting

Colocation

Addons

Premium DNS

Email Hosting

Cloud Backup

DDoS Protection

Licenses

SSL Certificates

Domain Names

Premium SLAs

About Us

Data Center Locations

Looking Glass

Our Company

Contact Us

Careers in Cyprus

Become a Partner

Awards

Certifications

© 2024 S.S. NetShop Internet Services Ltd. All rights reserved.  Terms & Conditions  |  Privacy Policy
CY Reg. Number: HE 217340 | EU VAT Number: CY10217340J

Visa
Mastercard
PayPal
Bitcoin
Tether
Ethereum
Litecoin
Wise
Revolut
Wire Transfer