Raid 5 explained

RAID 5 is a redundant array of independent disks configuration that uses disk striping with parity. Because data and parity are striped evenly across all of the disks, no single disk is a bottleneông chồng. Striping also allows users khổng lồ reconstruct data in case of a disk failure.

Bạn đang xem: Raid 5 explained

RAID 5 evenly balances reads và writes, và is currently one of the most commonly used RAID methods. It has more usable storage than RAID 1 & RAID 10 configurations, & provides performance equivalent to RAID 0.

RAID 5 groups have sầu a minimum of three hard disk drives (HDDs) và no maximum. Because the parity data is spread across all drives, RAID 5 is considered one of the most secure RAID configurations.

How RAID 5 works

The benefits of RAID 5 primarily come from its combined use of disk striping và parity. Striping is the process of storing consecutive sầu segments of data across different storage devices, and allows for better throughput và performance. Disk striping alone does not make an array fault tolerant, however. Disk striping combined with parity provides RAID 5 with redundancy & reliability.

RAID 5 used parity instead of mirroring for data redundancy. When data is written lớn a RAID 5 drive, the system calculates parity & writes that parity inlớn the drive sầu. While mirroring maintains multiple copies of data in each volume lớn use in case of failure, RAID 5 can rebuild a failed drive using the parity data, which is not kept on a fixed single drive.


By keeping data on each drive sầu, any two drives can combine to equal the data stored on the third drive sầu, keeping data secure in case of a single drive sầu failure. Drives can be hot swapped in RAID 5, which means a failed HDD can be removed & replaced without downtime.

RAID 5 layout

At least three drives are required for RAID 5. Depending on where the parity blocks are located & in which order the data blocks are written, there can be four different types ofRAID5. Left and right arraysare determined by how the parity blocks are distributed onlớn the member disks. Synchroniđô thị and asynchronicitydefine the order of the data blocks.


RAID 5 is one of the most comtháng RAID configurations và is igiảm giá khuyến mãi for application & file servers with a limited number of drives. Considered a good all-around RAID system, RAID 5 combines the better elements of efficiency and performance aước ao the different RAID configurations.

Fast, reliable read tốc độ is a major benefit. This RAID configuration also offers inexpensive sầu data redundancy và fault tolerance. Writes tover to be slower, because of the parity data calculation, but data can be accessed và read even while a failed drive sầu is being rebuilt. When drives fail, the RAID 5 system can read the information contained on the other drives and recreate that data, tolerating a single drive failure.


Longer rebuild times are one of the major drawbacks of RAID 5, and this delay could result in data loss. Because of its complexity, RAID 5 rebuilds can take a day or longer, depending on controller tốc độ & workload. If another disk fails during the rebuild, then data is lost forever.

Xem thêm: Chess Game Cờ Vua Tuyệt Đỉnh Cực Hay, Game Cờ Vua 2

Additionally, while the backup provided by RAID configurations can contribute khổng lồ business continuity, they are not equivalent khổng lồ a disaster recovery cài đặt in which hardware is locate in both on-premise & off-premise locations.

Software vs. hardware RAID

RAID can be in the khung of hardware or software, depending on where the processing occurs. Software RAID is a khung of RAID performed on the internal hệ thống. Because it processes on the internal hệ thống, software RAID is slower than hardware RAID. However, because hardware RAID requires purchasing additional hardware, software RAID costs less.

Popularity vs. other types of RAID configurations

All RAID configurations offer benefits và drawbacks. Standard RAID levels such as 2, 3, 4 & 7 are not as commonly used as others, such as 5, 1, 6 và 10. While RAID 3 could be considered inferior khổng lồ RAID 5 because it uses a separate disk for parity data, other configurations can hold their own when compared lớn RAID 5.

RAID 1 writes to two mirrored disk drives, và can handle twice the number of reads than a single HDD. This has kept RAID 1 as one of the most favored configurations and, in terms of tốc độ, it can outperform RAID 5. However, the amount of disk space required by RAID 1 can make RAID 5 a more appealing option. RAID 1 also has slower write speeds than 5. RAID 1 can still be a good choice in settings where data loss is unacceptable, such as data archiving.


Similar lớn RAID 5, RAID 6 has speedy reads & writes parity data to lớn multiple drives. However, because it writes to lớn two drives, RAID 6 uses a minimum of four drives rather than the three required by RAID 5. Unlike RAID 5, RAID 6 can withstand two drive sầu failures và provide access lớn all data even while both drives are being rebuilt. Because of this, RAID 6 is considered more secure than RAID 5.

With RAID 6, writes are even slower than RAID 5 because of the additional parity data calculation. Similar to lớn RAID 5, while data is still accessible while a drive sầu is being rebuilt, rebuilds can take a considerable amount of time. RAID 6 is considered an all-around solid system, & may be preferable khổng lồ RAID 5 in environments where a high number of large drives are used for storage.

RAID 10, or RAID 1+0, is a nonstandard RAID configuration that combines elements of RAID 1 & RAID 0. Unlike RAID 5 và RAID 6, RAID 10 has a fast rebuild time, thanks lớn the ability khổng lồ copy mirrored data to lớn a new drive sầu. This process can take as little as 30 minutes, depending on the drive sầu kích thước. The drawbaông chồng khổng lồ RAID 10 is that half of all storage capathành phố goes lớn mirroring, which can tốc độ up rebuilds but can become expensive sầu quickly.

Trends & future directions

Despite the numerous configurations available, RAID is an aging giải pháp công nghệ that is facing off with new competitors in the storage space. However, many vendors are beginning to lớn use RAID to supplement technologies like solid-state drives (SSDs) khổng lồ give sầu them redundancy. Until a more reliable size of data redundancy becomes available, RAID will likely continue to lớn have sầu a place in the storage market.

While RAID 5 remains popular, other RAID schemes have their selling points. The ability of RAID 6 lớn withstand two drives failing makes it an appealing option, & disk vendors are recommending RAID 6 & 10 for larger workloads. Standard SATA drives are not a good fit for RAID 5, because administers can be prevented from rebuilding a drive after a failure.

Storage capacity growth is another factor to watch when considering the future of RAID 5. As HDD sizes increase, RAID 5 rebuild times will only rise, and put the system at risk for another drive failing in that time. An increase in storage density that isn"t met by better performance will result in a lengthy rebuild. And with so many variations of RAID available khổng lồ fix the mistakes of earlier configurations, better options are likely khổng lồ appear down the road.

Related Termsdisk arrayA disk array, also called a storage array, is a data storage system used for block-based storage, file-based storage or object ... Seecompletedefinitionoptical storageOptical storage is any storage type in which data is written and read with a laser. Typically, data is written to lớn optical truyền thông media, ... SeecompletedefinitionShared SASShared serial-attached SCSI (SAS) is a method for attaching more than one VPS to a storage array via individual point-to-point... Seecompletedefinition