This page looks best with JavaScript enabled

RAID Storage Technology

 ·  ☕ 2 min read

1. What Is RAID

RAID technology combines multiple physical hard drives into a single logical hard drive, so the operating system sees it as one storage device.

There are two ways to implement RAID: hardware and software.

A hardware implementation is a RAID controller, a standalone hardware device responsible for RAID control and management.

A software implementation is RAID software, a program responsible for RAID control and management.

2. RAID 0

RAID 0 (also called a stripe set or striped volume) splits (“stripes”) data evenly across two or more disks.

For a RAID 0 array made of n drives, the theoretical data read/write throughput is n times that of a single drive.

It suits applications that demand extremely high performance and can tolerate lower reliability, such as scientific computing or temporary file storage for games.

3. RAID 1

RAID 1 keeps an exact copy (or mirror) of a data set on two or more disks.

The data is identical on all member disks. The usable capacity of the array equals that of the smallest member disk.

4. RAID 5

RAID 5 uses block-level striping with distributed parity, with the parity information interleaved across all member disks, thereby solving the write bottleneck of a single dedicated parity disk.

5. RAID 6

RAID 6 extends RAID 5 by adding a second independent parity block, thereby improving data reliability. The write performance of RAID 6 (especially random writes of small data blocks) is usually lower than that of RAID 5.

6. RAID Comparison

RAID LevelMinimum DisksMax Fault Tolerance (Disks)Usable Capacity (n=disks, s=per-disk capacity)Read Performance (Multiple)Write Performance (Multiple)SafetyPurpose
020n×snnLow, one failure loses all dataMaximum capacity and speed
12n-1sn1High, works as long as one disk is healthyMaximum safety
531(n-1)×sn-1n-1Medium, tolerates a single disk failureBalance of capacity, performance, safety
642(n-2)×sn-2n-2Medium-high, tolerates two disk failuresSafer than RAID 5
10 (1+0)4 (even)1 per mirror group (n/2 groups total)(n/2)×snn/2High, each group needs at least one healthy diskHigh performance and high safety
50 (5+0)61 per RAID 5 subgroup(n-k)×s (k=number of subgroups)n-kn-kHigh, improves write performance and safetyPerformance and safety for large arrays
60 (6+0)82 per RAID 6 subgroup(n-2k)×s (k=number of subgroups)n-2kn-2kVery high, strong fault toleranceUltimate data protection for critical workloads

7. References


WeChat Official Account
WRITTEN BY
WeChat Official Account