How to Configure CentOS 8 RAID Setup

This article will learn how to configure centos 8 in a Linux system with a RAID setup. RAID was initially developed to allow disks such as HDD, NVMe, and SSD to be combined into an array to realize redundancy. However, the Redundant Array of Independent Disk is the full form of the word “RAID”.

During the installation of CentOS, the software RAID configuration worked. RAID also has several levels, and in this article, we will use RAID1 with 2 HDDs disks, named sda and sdb, respectively.

How to Configure CentOS 8 RAID Setup

We need to follow some steps for the configuration of centos 8.

Step 1: Start CentOS from the installation disc.

Step 2: The second step is to choose “Install the basic video driver.”

Step 3: Whenever prompted, skip media tests.

Step 4: Continue by clicking “Next.”

Step 5: Click “Next” to select our preferred system language.

Step 6: To continue, select our preferred keyboard layout and click “Next.”

Step 7: Click “Next” to continue after selecting “Basic Storage Device.”

Step 8: Select the server’s hostname (localhost.local domain is the default), then click “Next” to proceed.

Step 9: We must select a time zone and then click “Next” to proceed.

Step 10: Select a password for the root account of our server, and click “Next.”

Step 11: We’ll need to enter our root password and click the “Next.” button.

Step 12: We should delete existing data and partitions from our hard drive (if blank).

Step 13: For sda, create a RAID partition

A window will appear once we highlight sda and click “Create.” Select “Create Software RAID” and “RAID Partition” in the “Create Storage” window, and then click “Create.” Configure the “Add Partition” window as follows:

  • Type of file system: Software RAID
  • Drives which that can use: sda (Tick that box)
  • The size can be any size we prefer (e.g., 50000MB).
  • A fixed-size option is also available
  • To continue, click “OK.”

Step 14: Then select “Hard Drives” and click “Create.” To create a software RAID, click on “RAID Device” under “Create Software RAID.”

Step 15: As such, configure the following settings:

  • Mount Point: /
  • file System Type: ext4
  • AID Device: md0
  • RAID Level: RAID1
  • AID Members: Tick both sda & sdb

Step 16: (Ignore swap partition warning) On the “Next” screen, click “Yes” to continue.

Step 17: When prompted, click “Write changes to disk.”

Step 18: You have to start the installation by clicking on “Next” and wait till the installation is complete.

Step 19: Finally, click on “Reboot” when the installation is complete.


This article tried to explain how to configure centos 8 in the Linux operating system with a RAID setup. We tried to explain very well from our side and even told the whole process step by step. We hope you will understand this article of ours and you will be able to configure centos 8 easily with its help.

About the author

Ankit Sharma