Nepedia
Back to Discover
Advanced Reader
💻

RAID

technology Maturity 11-13 Next article →

RAID is an orchestrated approach to computer data storage. It coordinates two or more secondary storage devices into a single disk array. Instead of using one hard disk drive or one solid-state drive, the system distributes data across the entire group. This process allows computers to manage information more efficiently. RAID levels define the specific way the system organizes these devices. These levels vary in complexity, performance, and energy efficiency. They also differ in how much fault tolerance they provide. Fault tolerance is the ability of a system to continue working even if a part fails.

ZFS raidz1
ZFS raidz1

The mechanism of RAID relies on two main techniques: striping and redundancy. Data striping improves read and write efficiency by spreading data across multiple disks. This allows the computer to access different parts of a file at the same time. Redundancy is used for data recovery through mirroring or parity. Mirroring creates exact copies of data on different drives. Parity uses mathematical calculations to reconstruct lost information. Most RAID levels use storage virtualization. This means they abstract several physical devices into one logical storage volume. This makes the multiple disks appear to the computer as a single unit.

There are several standard RAID levels, each with unique roles. RAID 0 uses block-level striping but offers no redundancy. If one drive in a RAID 0 array fails, the entire volume becomes inaccessible. RAID 1 uses data mirroring without striping or parity. It requires at least two drives to create a mirrored set. RAID 5 uses block-level striping with distributed parity. It requires a minimum of three disks. In RAID 5, parity information is spread across all drives. This allows the system to survive the failure of one drive. RAID 6 uses double distributed parity. This requires at least four disks and can tolerate two simultaneous drive failures. This makes it useful for high-availability systems.

HuaweiRH2288HV2 (cropped)
HuaweiRH2288HV2 (cropped)

Historical developments shaped how RAID works today. The term RAID was coined in 1987 by David Patterson, Garth Gibson, and Randy Katz. They were researchers at the University of California, Berkeley. In a 1988 paper, they proposed using inexpensive disks instead of expensive ones. Before this, high-capacity storage relied on single, large, expensive disks known as SLEDs. These were often connected to mainframe computers. The researchers argued that an array of cheap disks could outperform a single expensive disk. While adding more drives increases the chance of a single failure, redundancy makes the array more reliable. The acronym originally stood for "redundant array of inexpensive disks." It was later redefined as "redundant array of independent disks."

ZFS raidz1
ZFS raidz1

RAID is highly significant for modern computing infrastructure. It is deployed in personal computers, supercomputers, and web servers. It is also used in database servers and network-attached storage appliances. Different levels provide different scales of protection. For example, RAID 6 is more practical for large-capacity drives. This is because large drives take a long time to restore during a rebuild. During a rebuild, the system must read all data from all disks. This process increases the risk of a second drive failing. If a second drive fails during a RAID 5 rebuild, all data is lost. RAID 6 mitigates this specific risk by providing an extra layer of parity.

Some advanced systems use nested or hybrid RAID configurations. This means an array can be made of other arrays. One common example is RAID 10, also known as RAID 1+0. This creates a striped set from a series of mirrored drives. RAID 10 can sustain multiple drive losses as long as no mirror loses all its drives. Another version is RAID 0+1, which creates two stripes and mirrors them. However, RAID 0+1 carries a higher risk during a rebuild. This is because all data from the remaining stripe must be read. Hybrid RAID can also combine different types of hardware. A fast solid-state drive can be mirrored with a slower mechanical hard-disk drive. This setup provides speed advantages when using an appropriate controller.

HuaweiRH2288HV2 (cropped)
HuaweiRH2288HV2 (cropped)

RAID connects to broader concepts in computer science and mathematics. Most parity data is calculated using a logic gate called XOR. However, RAID 6 uses more complex math. It uses addition and multiplication in a Galois field. This is also known as Reed–Solomon error correction. These mathematical methods allow the system to solve for missing data bits. By combining hardware engineering with advanced mathematics, RAID ensures that digital information remains safe. It transforms many simple components into a powerful, unified storage system.

752 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:HuaweiRH2288HV2 (cropped).JPG
HuaweiRH2288HV2 (cropped).JPG
File:SATA 6 Gbit-s controller, in form of a PCI Express card.jpg
SATA 6 Gbit-s controller, in form of a...
File:ZFS raidz1.png
ZFS raidz1.png
More to explore

🔗 What's this?

Concepts mentioned in this article

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.