RAID
(`?..* T M F *..?′)

RAID

RAID (Redundant Array of Independent Disks)

Originally?redundant array of inexpensive disks) provides a way of storing the same data in different places (thus,?redundantly) on multiple?hard disks?(though not all RAID levels provide?redundancy). By placing data on multiple disks, input/output (I/O) operations can overlap in a balanced way, improving performance. Since multiple disks increase the mean time between failures (MTBF), storing data redundantly also increases?fault tolerance.

RAID arrays appear to the operating system (OS) as a single logical hard disk. RAID employs the technique of?disk mirroring?or?disk striping, which involves?partitioning?each drive's storage space into units ranging from a?sector?(512bytes) up to several?megabytes. The stripes of all the disks are interleaved and addressed in order.

In a single-user system where large?records, such as medical or other scientific images, are stored, the stripes are typically set up to be small (perhaps 512 bytes) so that a single record spans all disks and can be accessed quickly by reading all disks at the same time.

In a multi-user system, better performance requires establishing a stripe wide enough to hold the typical or maximum size record. This allows overlapped disk I/O across drives.

Standard RAID levels

RAID 0:?This configuration has striping but no redundancy of data. It offers the best performance but no fault tolerance.

No alt text provided for this image

RAID 1:?Also known as?disk mirroring, this configuration consists of at least two drives that duplicate the storage of data. There is no striping. Read performance is improved since either disk can be read at the same time. Write performance is the same as for single disk storage

No alt text provided for this image

RAID 2:?This configuration uses striping across disks with some disks storing error checking and correcting (ECC) information. It has no advantage over RAID 3 and is no longer used.

No alt text provided for this image

RAID 3:?This technique uses striping and dedicates one drive to storing?parity information. The embedded ECC information is used to detect errors.?Data recovery?is accomplished by calculating the exclusive OR (XOR) of the information recorded on the other drives. Since an I/O operation addresses all drives at the same time, RAID 3 cannot overlap I/O. For this reason, RAID 3 is best for single-user systems with long record applications.

No alt text provided for this image

RAID 4:?This level uses large stripes, which means you can read records from any single drive. This allows you to use overlapped I/O for reading operations. Since all write operations have to update the parity drive, no I/O overlapping is possible. RAID 4 offers no advantage over RAID 5.

No alt text provided for this image

RAID 5:?This level is based on?block-level striping with parity. The parity information is striped across each drive, allowing the array to function even if one drive were to fail. The array’s architecture allows read and writes operations to span multiple drives. This results in performance that is usually better than that of a single drive, but not as high as that of a RAID 0 array. RAID 5 requires at least three disks, but it is often recommended to use at least five disks for performance reasons.

RAID 5 arrays are generally considered to be a poor choice for use on write-intensive systems because of the performance impact associated with writing parity information. When a disk does fail, it can take a long time to rebuild a RAID 5 array. Performance is usually degraded during the rebuild time and the array is vulnerable to an additional disk failure until the rebuild is complete.

No alt text provided for this image

RAID 6:?This technique is similar to RAID 5 but includes a second parity scheme that is distributed across the drives in the array. The use of additional parity allows the array to continue to function even if two disks fail simultaneously. However, this extra protection comes at a cost. RAID 6 arrays have a higher cost per gigabyte (GB) and often have slower write performance than RAID 5 arrays.

No alt text provided for this image

Nested RAID levels

Some RAID levels are referred to as?nested RAID?because they are based on a combination of RAID levels. Here are some examples of nested RAID levels.

RAID 10?(RAID 1+0):?Combining RAID 1 and RAID 0, this level is often referred to as RAID 10, which offers higher performance than RAID 1 but at a much higher cost. In RAID 1+0, the data is mirrored and the mirrors are striped.

No alt text provided for this image

RAID 01?(RAID 0+1):?RAID 0+1 is very similar to RAID 1+0, except the data organization method is slightly different. Rather than creating a mirror and then stripping the mirror, RAID 0+1 creates a stripe set and then mirrors the stripe set.

RAID 03 (RAID 0+3 also known as RAID 53 or RAID 5+3):?This level uses striping (in RAID 0 style) for RAID 3's virtual disk blocks. This offers higher performance than RAID 3, but at a much higher cost.

RAID 50?(RAID 5+0):?This configuration combines RAID 5 distributed parity with RAID 0 striping to improve RAID 5 performance without reducing data protection.

Non-standard RAID levels

RAID 7:?This RAID level is based on RAID 3 and RAID 4, but adds?caching?to the mix. It includes a?real-time?embedded OS?as a?controller, caching via a high-speed?bus,?and other characteristics of a standalone computer. It is a non-standard, trademarked RAID level owned by the now-defunct Storage Computer Corp.

Adaptive RAID:?Adaptive RAID lets the?RAID controller?decide how to store the parity on the disks. It will choose between RAID 3 and RAID 5, depending on which RAID set type will perform better with the type of data being written to the disks.

RAID S (also known as Parity RAID):?This is an alternate,?proprietary?method for striped parity RAID from EMC Symmetrix that is no longer in use on current equipment. It appears to be similar to RAID 5 with some performance enhancements, as well as the enhancements that come from having a high-speed?disk cache?on the disk array.

Initially, all the drives in a RAID array are installed at the same time. This makes the drives the same age, and subject to the same operating conditions and amount of wear. But when a drive fails, there is a high probability that another drive in the array will also soon fail.

Some RAID levels (such as RAID 5 and RAID 1) can only sustain a single drive failure (although some RAID 1 implementations consist of multiple mirrors and can therefore sustain multiple failures). The problem is that the RAID array and the data it contains are left in a vulnerable state until a failed drive is replaced and the new disk is populated with data.

Even if a second disk failure does not occur while the failed disk is being replaced, there is a chance the remaining disks may contain bad?sectors?or unreadable data. These types of conditions may make it impossible to fully?rebuild?the array.

Nested RAID levels address these problems by providing a greater degree of redundancy, greatly decreasing the chances of an array-level failure due to simultaneous disk failures.

? Tharaka Francis

要查看或添加评论,请登录

Tharaka Francis的更多文章

  • How Artificial Intelligence Will Change the World

    How Artificial Intelligence Will Change the World

    How Artificial Intelligence Will Change the World Artificial intelligence (AI) is a rapidly evolving field that has the…

  • What is Kerberos Authentication, How it Works, and its Advantages?..

    What is Kerberos Authentication, How it Works, and its Advantages?..

    Kerberos authentication is a cryptography-based protocol that is used to secure logins. The Kerberos is a mythological…

  • OWASP Top Ten Web Application Security Risks

    OWASP Top Ten Web Application Security Risks

    The OWASP Top 10 is a standard awareness document for developers and web application security. It represents a broad…

  • Top Ten World's Most Dangerous DNS Attacks Types and The Prevention Measures

    Top Ten World's Most Dangerous DNS Attacks Types and The Prevention Measures

    From the above topic, we can guess that today, we are going to discuss the top 10 DNS attacks and how to mitigate them.…

  • SD-WAN (Software-Defined WAN)

    SD-WAN (Software-Defined WAN)

    SD-WAN is a software-defined approach to managing the WAN Key advantages include: Reducing costs with transport…

  • IT Greats - The World's Greatest IT Minds

    IT Greats - The World's Greatest IT Minds

    For every world-famous name with a world famous fortune, such as Bill Gates, Steve Jobs and Michael Dell, there are…

  • Bitcoin (BTC)

    Bitcoin (BTC)

    Bitcoin is a cryptocurrency and a payment system invented by an unidentified programmer, or group of programmers, under…

    1 条评论
  • Big Data

    Big Data

    Big data is a term that describes the large volume of data – both structured and unstructured – that inundates a…

  • Microsoft RADIUS servers

    Microsoft RADIUS servers

    (Applies To Windows Server 2008 R2, 2012 and 2012 R2) Network Policy Server (NPS) can be used as a Remote…