Skip to main content

Build a Software RAID Array

ol lab tutorial ol-storage
Table of Contents

Links

🌙 Lab

🗒 Tutorial

Details

A Redundant Array of Independent Disks or RAID device is a virtual device created from two or more real block devices. This functionality allows multiple devices (typically disk drives or partitions of a disk) to be combined into a single device to hold a single filesystem. Some RAID levels include redundancy, allowing the filesystem to survive some degree of device failure.

The Oracle Linux kernel uses the Multiple Device (MD) driver to support Linux software RAID and enable you to organize disk drives into RAID devices and implement different RAID levels.

For more information on these different RAID levels, see the Oracle documentation .

This tutorial will work with the MD utility (mdadm) to create a RAID1 device with a spare and then address a disk failure

Objectives

In this tutorial, you will learn how to:

  • Create a RAID1 device with a spare
  • Recover a failed RAID1 device

Prerequisites

The tutorial uses the following system:

  • Any Oracle Linux 8 system with the following configurations:
    • a non-root user with sudo permissions
    • additional block volumes for use with Linux Software RAID