Data storage virtualization technology
RAID (; redundant array of inexpensive disks or redundant array of independent disks)12 is a data storage virtualization technology that combines multiple physical data storage components into one or more logical units for the purposes of data redundancy, performance improvement, or both. This is in contrast to the previous concept of highly reliable mainframe disk drives known as single large expensive disk (SLED).31
Data is distributed across the drives in one of several ways, referred to as RAID levels, depending on the required level of redundancy and performance. The different schemes, or data distribution layouts, are named by the word âRAIDâ followed by a number, for example RAIDÂ 0 or RAIDÂ 1. Each scheme, or RAID level, provides a different balance among the key goals: reliability, availability, performance, and capacity. RAID levels greater than RAIDÂ 0 provide protection against unrecoverable sector read errors, as well as against failures of whole physical drives.
The term âRAIDâ was invented by David Patterson, Garth Gibson, and Randy Katz at the University of California, Berkeley in 1987. In their June 1988 paper âA Case for Redundant Arrays of Inexpensive Disks (RAID)â, presented at the SIGMOD Conference, they argued that the top-performing mainframe disk drives of the time could be beaten on performance by an array of the inexpensive drives that had been developed for the growing personal computer market. Although failures would rise in proportion to the number of drives, by configuring for redundancy, the reliability of an array could far exceed that of any large single drive.4
Although not yet using that terminology, the technologies of the five levels of RAID named in the June 1988 paper were used in various products prior to the paperâs publication,3 including the following:
- Mirroring (RAID 1) was well established in the 1970s including, for example, Tandem NonStop Systems.
- In 1977, Norman Ken Ouchi at IBM filed a patent disclosing what was subsequently named RAIDÂ 4.5
- Around 1983, DEC began shipping subsystem mirrored RA8X disk drives (now known as RAIDÂ 1) as part of its HSC50 subsystem.6
- In 1986, Clark et al. at IBM filed a patent disclosing what was subsequently named RAIDÂ 5.7
- Around 1988, the Thinking Machinesâ DataVault used error correction codes (now known as RAIDÂ 2) in an array of disk drives.8 A similar approach was used in the early 1960s on the IBMÂ 353.910
Industry manufacturers later redefined the RAID acronym to stand for âredundant array of independent disksâ.2111213
Many RAID levels employ an error protection scheme called âparityâ, a widely used method in information technology to provide fault tolerance in a given set of data. Most use simple XOR, but RAIDÂ 6 uses two separate parities based respectively on addition and multiplication in a particular Galois field or ReedâSolomon error correction.14
RAID can also provide data security with solid-state drives (SSDs) without the expense of an all-SSD system. For example, a fast SSD can be mirrored with a mechanical drive. For this configuration to provide a significant speed advantage, an appropriate controller is needed that uses the fast SSD for all read operations. Adaptec calls this âhybrid RAIDâ.15
Storage servers with 24 hard disk drives each and built-in hardware RAID controllers supporting various RAID levels
Originally, there were five standard levels of RAID, but many variations have evolved, including several nested levels and many non-standard levels (mostly proprietary). RAID levels and their associated data formats are standardized by the Storage Networking Industry Association (SNIA) in the Common RAID Disk Drive Format (DDF) standard:1617
- RAIDÂ 0 consists of block-level striping, but no mirroring or parity. Assuming n fully-used drives of equal capacity, the capacity of a RAIDÂ 0 volume matches that of a spanned volume: the total of the n drivesâ capacities. However, because striping distributes the contents of each file across all drives, the failure of any drive renders the entire RAIDÂ 0 volume inaccessible. Typically, all data is lost, and files cannot be recovered without a backup copy.
By contrast, a spanned volume, which stores files sequentially, loses data stored on the failed drive but preserves data stored on the remaining drives. However, recovering the files after drive failure can be challenging and often depends on the specifics of the filesystem. Regardless, files that span onto or off a failed drive will be permanently lost.
On the other hand, the benefit of RAIDÂ 0 is that the throughput of read and write operations to any file is multiplied by the number of drives because, unlike spanned volumes, reads and writes are performed concurrently.11 The cost is increased vulnerability to drive failuresâsince any drive in a RAIDÂ 0 setup failing causes the entire volume to be lost, the average failure rate of the volume rises with the number of attached drives. This makes RAIDÂ 0 a poor choice for scenarios requiring data reliability or fault tolerance.
- RAIDÂ 1 consists of data mirroring, without parity or striping. Data is written identically to two or more drives, thereby producing a âmirrored setâ of drives. Thus, any read request can be serviced by any drive in the set. If a request is broadcast to every drive in the set, it can be serviced by the drive that accesses the data first (depending on its seek time and rotational latency), improving performance. Sustained read throughput, if the controller or software is optimized for it, approaches the sum of throughputs of every drive in the set, just as for RAIDÂ 0. Actual read throughput of most RAIDÂ 1 implementations is slower than the fastest drive. Write throughput is always slower because every drive must be updated, and the slowest drive limits the write performance. The array continues to operate as long as at least one drive is functioning.11
- RAIDÂ 2 consists of bit-level striping with dedicated Hamming-code parity. All disk spindle rotation is synchronized and data is striped such that each sequential bit is on a different drive. Hamming-code parity is calculated across corresponding bits and stored on at least one parity drive.11 This level is of historical significance only; although it was used on some early machines (for example, the Thinking Machines CM-2),18 as of 2014[update] it is not used by any commercially available system.19
- RAIDÂ 3 consists of byte-level striping with dedicated parity. All disk spindle rotation is synchronized and data is striped such that each sequential byte is on a different drive. Parity is calculated across corresponding bytes and stored on a dedicated parity drive.11 Although implementations exist,20 RAIDÂ 3 is not commonly used in practice.
- RAIDÂ 4 consists of block-level striping with dedicated parity. This level was previously used by NetApp, but has now been largely replaced by a proprietary implementation of RAIDÂ 4 with two parity disks, called RAID-DP.21 The main advantage of RAIDÂ 4 over RAIDÂ 2 and 3 is I/O parallelism: in RAIDÂ 2 and 3, a single read I/O operation requires reading the whole group of data drives, while in RAIDÂ 4 one I/O read operation does not have to spread across all data drives. As a result, more I/O operations can be executed in parallel, improving the performance of small transfers.1
- RAIDÂ 5 consists of block-level striping with distributed parity. Unlike RAIDÂ 4, parity information is distributed among the drives, requiring all drives but one to be present to operate. Upon failure of a single drive, subsequent reads can be calculated from the distributed parity such that no data is lost. RAIDÂ 5 requires at least three disks.11 Like all single-parity concepts, large RAIDÂ 5 implementations are susceptible to system failures because of trends regarding array rebuild time and the chance of drive failure during rebuild (see âIncreasing rebuild time and failure probabilityâ section, below).22 Rebuilding an array requires reading all data from all disks, opening a chance for a second drive failure and the loss of the entire array.
- RAIDÂ 6 consists of block-level striping with double distributed parity. Double parity provides fault tolerance up to two failed drives. This makes larger RAID groups more practical, especially for high-availability systems, as large-capacity drives take longer to restore. RAIDÂ 6 requires a minimum of four disks. As with RAIDÂ 5, a single drive failure results in reduced performance of the entire array until the failed drive has been replaced.11 With a RAIDÂ 6 array, using drives from multiple sources and manufacturers, it is possible to mitigate most of the problems associated with RAIDÂ 5. The larger the drive capacities and the larger the array size, the more important it becomes to choose RAIDÂ 6 instead of RAIDÂ 5.23 RAIDÂ 10 also minimizes these problems.24
Nested (hybrid) RAID
In what was originally termed hybrid RAID,25 many storage controllers allow RAID levels to be nested. The elements of a RAID may be either individual drives or arrays themselves. Arrays are rarely nested more than one level deep.
The final array is known as the top array. When the top array is RAIDÂ 0 (such as in RAIDÂ 1+0 and RAIDÂ 5+0), most vendors omit the â+â (yielding RAIDÂ 10 and RAIDÂ 50, respectively).
- RAIDÂ 0+1: creates two stripes and mirrors them. If a single drive failure occurs then one of the mirrors has failed, at this point it is running effectively as RAID 0 with no redundancy. Significantly higher risk is introduced during a rebuild than RAID 1+0 as all the data from all the drives in the remaining stripe has to be read rather than just from one drive, increasing the chance of an unrecoverable read error (URE) and significantly extending the rebuild window.262728
- RAIDÂ 1+0: (see: RAIDÂ 10) creates a striped set from a series of mirrored drives. The array can sustain multiple drive losses so long as no mirror loses all its drives.29
- JBOD RAID N+N: With JBOD (just a bunch of disks), it is possible to concatenate disks, but also volumes such as RAID sets. With larger drive capacities, write delay and rebuilding time increase dramatically (especially, as described above, with RAID 5 and RAID 6). By splitting a larger RAID N set into smaller subsets and concatenating them with linear JBOD,[clarification needed] write and rebuilding time will be reduced. If a hardware RAID controller is not capable of nesting linear JBOD with RAID N, then linear JBOD can be achieved with OS-level software RAID in combination with separate RAID N subset volumes created within one, or more, hardware RAID controller(s). Besides a drastic speed increase, this also provides a substantial advantage: the possibility to start a linear JBOD with a small set of disks and to be able to expand the total set with disks of different size, later on (in time, disks of bigger size become available on the market). There is another advantage in the form of disaster recovery (if a RAID N subset happens to fail, then the data on the other RAID N subsets is not lost, reducing restore time). [citation needed]
Non-standard levels
Many configurations other than the basic numbered RAID levels are possible, and many companies, organizations, and groups have created their own non-standard configurations, in many cases designed to meet the specialized needs of a small niche group. Such configurations include the following:
- Linux MD RAID 10 provides a general RAID driver that in its ânearâ layout defaults to a standard RAIDÂ 1 with two drives, and a standard RAIDÂ 1+0 with four drives; however, it can include any number of drives, including odd numbers. With its âfarâ layout, MD RAIDÂ 10 can run both striped and mirrored, even with only two drives in
f2
layout; this runs mirroring with striped reads, giving the read performance of RAIDÂ 0. Regular RAIDÂ 1, as provided by Linux software RAID, does not stripe reads, but can perform reads in parallel.293031 - Hadoop has a RAID system that generates a parity file by xor-ing a stripe of blocks in a single HDFS file.32
- BeeGFS, the parallel file system, has internal striping (comparable to file-based RAID0) and replication (comparable to file-based RAID10) options to aggregate throughput and capacity of multiple servers and is typically based on top of an underlying RAID to make disk failures transparent.
- Declustered RAID scatters dual (or more) copies of the data across all disks (possibly hundreds) in a storage subsystem, while holding back enough spare capacity to allow for a few disks to fail. The scattering is based on algorithms which give the appearance of arbitrariness. When one or more disks fail the missing copies are rebuilt into that spare capacity, again arbitrarily. Because the rebuild is done from and to all the remaining disks, it operates much faster than with traditional RAID, reducing the overall impact on clients of the storage system.
The distribution of data across multiple drives can be managed either by dedicated computer hardware or by software. A software solution may be part of the operating system, part of the firmware and drivers supplied with a standard drive controller (so-called âhardware-assisted software RAIDâ), or it may reside entirely within the hardware RAID controller.
Hardware RAID controllers can be configured through card BIOS or Option ROM before an operating system is booted, and after the operating system is booted, proprietary configuration utilities are available from the manufacturer of each controller. Unlike the network interface controllers for Ethernet, which can usually be configured and serviced entirely through the common operating system paradigms like ifconfig in Unix, without a need for any third-party tools, each manufacturer of each RAID controller usually provides their own proprietary software tooling for each operating system that they deem to support, ensuring a vendor lock-in, and contributing to reliability issues.33
For example, in FreeBSD, in order to access the configuration of Adaptec RAID controllers, users are required to enable Linux compatibility layer, and use the Linux tooling from Adaptec,34 potentially compromising the stability, reliability and security of their setup, especially when taking the long-term view.33
Some other operating systems have implemented their own generic frameworks for interfacing with any RAID controller, and provide tools for monitoring RAID volume status, as well as facilitation of drive identification through LED blinking, alarm management and hot spare disk designations from within the operating system without having to reboot into card BIOS. For example, this was the approach taken by OpenBSD in 2005 with its bio(4) pseudo-device and the bioctl utility, which provide volume status, and allow LED/alarm/hotspare control, as well as the sensors (including the drive sensor) for health monitoring;35 this approach has subsequently been adopted and extended by NetBSD in 2007 as well.36
Software RAID implementations are provided by many modern operating systems. Software RAID can be implemented as:
- A layer that abstracts multiple devices, thereby providing a single virtual device (such as Linux kernelâs md and OpenBSDâs softraid)
- A more generic logical volume manager (provided with most server-class operating systems such as Veritas or LVM)
- A component of the file system (such as ZFS, Spectrum Scale or Btrfs)
- A layer that sits above any file system and provides parity protection to user data (such as RAID-F)37
Some advanced file systems are designed to organize data across multiple storage devices directly, without needing the help of a third-party logical volume manager:
- ZFS supports the equivalents of RAIDÂ 0, RAIDÂ 1, RAIDÂ 5 (RAID-Z1) single-parity, RAIDÂ 6 (RAID-Z2) double-parity, and a triple-parity version (RAID-Z3) also referred to as RAIDÂ 7.38 As it always stripes over top-level vdevs, it supports equivalents of the 1+0, 5+0, and 6+0 nested RAID levels (as well as striped triple-parity sets) but not other nested combinations. ZFS is the native file system on Solaris and illumos, and is also available on FreeBSD and Linux. Open-source ZFS implementations are actively developed under the OpenZFS umbrella project.3940414243
- Spectrum Scale, initially developed by IBM for media streaming and scalable analytics, supports declustered RAID protection schemes up to n+3. A particularity is the dynamic rebuilding priority which runs with low impact in the background until a data chunk hits n+0 redundancy, in which case this chunk is quickly rebuilt to at least n+1. On top, Spectrum Scale supports metro-distance RAIDÂ 1.44
- Btrfs supports RAIDÂ 0, RAIDÂ 1 and RAIDÂ 10 (RAIDÂ 5 and 6 are under development).4546
- XFS was originally designed to provide an integrated volume manager that supports concatenating, mirroring and striping of multiple physical storage devices.47 However, the implementation of XFS in Linux kernel lacks the integrated volume manager.48
Many operating systems provide RAID implementations, including the following:
- Hewlett-Packardâs OpenVMS operating system supports RAIDÂ 1. The mirrored disks, called a âshadow setâ, can be in different locations to assist in disaster recovery.49
- Appleâs macOS and macOS Server natively support RAIDÂ 0, RAIDÂ 1, and RAIDÂ 1+0,5051 which can be created with Disk Utility or its command-line interface, while RAIDÂ 4 and RAIDÂ 5 can only be created using the third-party software SoftRAID by OWC,52 with the driver for SoftRAID access natively included since macOS 13.3.
- FreeBSD supports RAIDÂ 0, RAIDÂ 1, RAIDÂ 3, and RAIDÂ 5, and all nestings via GEOM modules and ccd.535455
- Linuxâs md supports RAIDÂ 0, RAIDÂ 1, RAIDÂ 4, RAIDÂ 5, RAIDÂ 6, and all nestings.56 Certain reshaping/resizing/expanding operations are also supported.57
- Microsoft Windows supports RAIDÂ 0, RAIDÂ 1, and RAIDÂ 5 using various software implementations. Logical Disk Manager, introduced with Windows 2000, allows for the creation of RAIDÂ 0, RAIDÂ 1, and RAIDÂ 5 volumes by using dynamic disks, but this was limited only to professional and server editions of Windows until the release of Windows 8.5859 Windows XP can be modified to unlock support for RAIDÂ 0, 1, and 5.60 Windows 8 and Windows Server 2012 introduced a RAID-like feature known as Storage Spaces, which also allows users to specify mirroring, parity, or no redundancy on a folder-by-folder basis. These options are similar to RAIDÂ 1 and RAIDÂ 5, but are implemented at a higher abstraction level.61
- NetBSD supports RAIDÂ 0, 1, 4, and 5 via its software implementation, named RAIDframe.62
- OpenBSD supports RAIDÂ 0, 1 and 5 via its software implementation, named softraid.63
If a boot drive fails, the system has to be sophisticated enough to be able to boot from the remaining drive or drives. For instance, consider a computer whose disk is configured as RAIDÂ 1 (mirrored drives); if the first drive in the array fails, then a first-stage boot loader might not be sophisticated enough to attempt loading the second-stage boot loader from the second drive as a fallback. The second-stage boot loader for FreeBSD is capable of loading a kernel from such an array.64
Firmware- and driver-based
A SATAÂ 3.0 controller that provides RAID functionality through proprietary firmware and drivers
Software-implemented RAID is not always compatible with the systemâs boot process, and it is generally impractical for desktop versions of Windows. However, hardware RAID controllers are expensive and proprietary. To fill this gap, inexpensive âRAID controllersâ were introduced that do not contain a dedicated RAID controller chip, but simply a standard drive controller chip, or the chipset built-in RAID function, with proprietary firmware and drivers. During early bootup, the RAID is implemented by the firmware and, once the operating system has been more completely loaded, the drivers take over control. Consequently, such controllers may not work when driver support is not available for the host operating system.65 An example is Intel Rapid Storage Technology, implemented on many consumer-level motherboards.6667
Because some minimal hardware support is involved, this implementation is also called âhardware-assisted software RAIDâ,686970 âhybrid modelâ RAID,70 or even âfake RAIDâ.71 If RAIDÂ 5 is supported, the hardware may provide a hardware XOR accelerator. An advantage of this model over the pure software RAID is thatâif using a redundancy modeâthe boot drive is protected from failure (due to the firmware) during the boot process even before the operating systemâs drivers take over.70
Data scrubbing (referred to in some environments as patrol read) involves periodic reading and checking by the RAID controller of all the blocks in an array, including those not otherwise accessed. This detects bad blocks before use.72 Data scrubbing checks for bad blocks on each storage device in an array, but also uses the redundancy of the array to recover bad blocks on a single drive and to reassign the recovered data to spare blocks elsewhere on the drive.73
Frequently, a RAID controller is configured to âdropâ a component drive (that is, to assume a component drive has failed) if the drive has been unresponsive for eight seconds or so; this might cause the array controller to drop a good drive because that drive has not been given enough time to complete its internal error recovery procedure. Consequently, using consumer-marketed drives with RAID can be risky, and so-called âenterprise classâ drives limit this error recovery time to reduce risk.[citation needed] Western Digitalâs desktop drives used to have a specific fix. A utility called WDTLER.exe limited a driveâs error recovery time. The utility enabled TLER (time limited error recovery), which limits the error recovery time to seven seconds. Around September 2009, Western Digital disabled this feature in their desktop drives (such as the Caviar Black line), making such drives unsuitable for use in RAID configurations.74 However, Western Digital enterprise class drives are shipped from the factory with TLER enabled. Similar technologies are used by Seagate, Samsung, and Hitachi. For non-RAID usage, an enterprise class drive with a short error recovery timeout that cannot be changed is therefore less suitable than a desktop drive.74 In late 2010, the Smartmontools program began supporting the configuration of ATA Error Recovery Control, allowing the tool to configure many desktop class hard drives for use in RAID setups.74
While RAID may protect against physical drive failure, the data is still exposed to operator, software, hardware, and virus destruction. Many studies cite operator fault as a common source of malfunction,7576 such as a server operator replacing the incorrect drive in a faulty RAID, and disabling the system (even temporarily) in the process.77
An array can be overwhelmed by catastrophic failure that exceeds its recovery capacity and the entire array is at risk of physical damage by fire, natural disaster, and human forces, however backups can be stored off site. An array is also vulnerable to controller failure because it is not always possible to migrate it to a new, different controller without data loss.78
In practice, the drives are often the same age (with similar wear) and subject to the same environment. Since many drive failures are due to mechanical issues (which are more likely on older drives), this violates the assumptions of independent, identical rate of failure amongst drives; failures are in fact statistically correlated.11 In practice, the chances for a second failure before the first has been recovered (causing data loss) are higher than the chances for random failures. In a study of about 100,000 drives, the probability of two drives in the same cluster failing within one hour was four times larger than predicted by the exponential statistical distributionâwhich characterizes processes in which events occur continuously and independently at a constant average rate. The probability of two failures in the same 10-hour period was twice as large as predicted by an exponential distribution.79
Unrecoverable read errors during rebuild
Unrecoverable read errors (URE) present as sector read failures, also known as latent sector errors (LSE). The associated media assessment measure, unrecoverable bit error (UBE) rate, is typically guaranteed to be less than one bit in 1015[disputed â discuss] for enterprise-class drives (SCSI, FC, SAS or SATA), and less than one bit in 1014[disputed â discuss] for desktop-class drives (IDE/ATA/PATA or SATA). Increasing drive capacities and large RAID 5 instances have led to the maximum error rates being insufficient to guarantee a successful recovery, due to the high likelihood of such an error occurring on one or more remaining drives during a RAID set rebuild.11[obsolete source]80 When rebuilding, parity-based schemes such as RAID 5 are particularly prone to the effects of UREs as they affect not only the sector where they occur, but also reconstructed blocks using that sector for parity computation.81
Double-protection parity-based schemes, such as RAIDÂ 6, attempt to address this issue by providing redundancy that allows double-drive failures; as a downside, such schemes suffer from elevated write penaltyâthe number of times the storage medium must be accessed during a single write operation.82 Schemes that duplicate (mirror) data in a drive-to-drive manner, such as RAIDÂ 1 and RAIDÂ 10, have a lower risk from UREs than those using parity computation or mirroring between striped sets.2483 Data scrubbing, as a background process, can be used to detect and recover from UREs, effectively reducing the risk of them happening during RAID rebuilds and causing double-drive failures. The recovery of UREs involves remapping of affected underlying disk sectors, utilizing the driveâs sector remapping pool; in case of UREs detected during background scrubbing, data redundancy provided by a fully operational RAID set allows the missing data to be reconstructed and rewritten to a remapped sector.8485
Increasing rebuild time and failure probability
Drive capacity has grown at a much faster rate than transfer speed, and error rates have only fallen a little in comparison. Therefore, larger-capacity drives may take hours if not days to rebuild, during which time other drives may fail or yet undetected read errors may surface. The rebuild time is also limited if the entire array is still in operation at reduced capacity.86 Given an array with only one redundant drive (which applies to RAID levels 3, 4 and 5, and to âclassicâ two-drive RAIDÂ 1), a second drive failure would cause complete failure of the array. Even though individual drivesâ mean time between failure (MTBF) have increased over time, this increase has not kept pace with the increased storage capacity of the drives. The time to rebuild the array after a single drive failure, as well as the chance of a second failure during a rebuild, have increased over time.22
Some commentators have declared that RAIDÂ 6 is only a âband aidâ in this respect, because it only kicks the problem a little further down the road.22 However, according to the 2006 NetApp study of Berriman et al., the chance of failure decreases by a factor of about 3,800 (relative to RAIDÂ 5) for a proper implementation of RAIDÂ 6, even when using commodity drives.87[citation not found] Nevertheless, if the currently observed technology trends remain unchanged, in 2019 a RAIDÂ 6 array will have the same chance of failure as its RAIDÂ 5 counterpart had in 2010.87[unreliable source?]
Mirroring schemes such as RAIDÂ 10 have a bounded recovery time as they require the copy of a single failed drive, compared with parity schemes such as RAIDÂ 6, which require the copy of all blocks of the drives in an array set. Triple parity schemes, or triple mirroring, have been suggested as one approach to improve resilience to an additional drive failure during this large rebuild time.87[unreliable source?]
A system crash or other interruption of a write operation can result in states where the parity is inconsistent with the data due to non-atomicity of the write process, such that the parity cannot be used for recovery in the case of a disk failure. This is commonly termed the write hole which is a known data corruption issue in older and low-end RAIDs, caused by interrupted destaging of writes to disk.88 The write hole can be addressed in a few ways:
- Write-ahead logging.
- Hardware RAID systems use an onboard nonvolatile cache for this purpose.89
- mdadm can use a dedicated journaling device (to avoid performance penalty, typically, SSDs and NVMs are preferred) for this purpose.9091
- Write intent logging. mdadm uses a âwrite-intent-bitmapâ. If it finds any location marked as incompletely written at startup, it resyncs them. It closes the write hole but does not protect against loss of in-transit data, unlike a full WAL.8992
- Partial parity. mdadm can save a âpartial parityâ that, when combined with modified chunks, recovers the original parity. This closes the write hole, but again does not protect against loss of in-transit data.93
- Dynamic stripe size. RAID-Z ensures that each block is its own stripe, so every block is complete. Copy-on-write (COW) transactional semantics guard metadata associated with stripes.94 The downside is IO fragmentation.95
- Avoiding overwriting used stripes. bcachefs, which uses a copying garbage collector, chooses this option. COW again protect references to striped data.95
Write hole is a little understood and rarely mentioned failure mode for redundant storage systems that do not utilize transactional features. Database researcher Jim Gray wrote âUpdate in Place is a Poison Appleâ during the early days of relational database commercialization.96
Write-cache reliability
There are concerns about write-cache reliability, specifically regarding devices equipped with a write-back cache, which is a caching system that reports the data as written as soon as it is written to cache, as opposed to when it is written to the non-volatile medium. If the system experiences a power loss or other major failure, the data may be irrevocably lost from the cache before reaching the non-volatile storage. For this reason good write-back cache implementations include mechanisms, such as redundant battery power, to preserve cache contents across system failures (including power failures) and to flush the cache at system restart time.97
- Disk data format
- Network-attached storage (NAS)
- Non-RAID drive architectures
- Redundant array of independent memory
- Self-Monitoring, Analysis and Reporting Technology (S.M.A.R.T.)
- âEmpirical Measurements of Disk Failure Rates and Error Ratesâ, by Jim Gray and Catharine van Ingen, December 2005
- The Mathematics of RAID-6, by H. Peter Anvin
- BAARF: Battle Against Any Raid Five (RAIDÂ 3, 4 and 5 versus RAIDÂ 10)
- A Clean-Slate Look at Disk Scrubbing
Footnotes
-
Patterson, David; Gibson, Garth A.; Katz, Randy (1988). A Case for Redundant Arrays of Inexpensive Disks (RAID) (PDF). SIGMOD Conferences. Retrieved 2024-01-03. â© â©2 â©3
-
âOriginally referred to as Redundant Array of Inexpensive Disks, the term RAID was first published in the late 1980s by Patterson, Gibson, and Katz of the University of California at Berkeley. (The RAID Advisory Board has since substituted the term Inexpensive with Independent.)â Storage Area Network Fundamentals; Meeta Gupta; Cisco Press; ISBNÂ 978-1-58705-065-7; Appendix A. â© â©2
-
Katz, Randy H. (October 2010). âRAID: A Personal Recollection of How Storage Became a Systemâ (PDF). eecs.umich.edu. IEEE Computer Society. Retrieved 2015-01-18. We were not the first to think of the idea of replacing what Patterson described as a slow large expensive disk (SLED) with an array of inexpensive disks. For example, the concept of disk mirroring, pioneered by Tandem, was well known, and some storage products had already been constructed around arrays of small disks. â© â©2
-
Hayes, Frank (November 17, 2003). âThe Story So Farâ. Computerworld. Retrieved November 18, 2016. Patterson recalled the beginnings of his RAID project in 1987. [âŠ] 1988: David A. Patterson leads a team that defines RAID standards for improved performance, reliability and scalability. â©
-
US patent 4092732, Norman Ken Ouchi, âSystem for Recovering Data Stored in Failed Memory Unitâ, issued 1978-05-30 â©
-
âHSC50/70 Hardware Technical Manualâ (PDF). DEC. July 1986. pp. 29, 32. Archived from the original (PDF) on 2016-03-04. Retrieved 2014-01-03. â©
-
US patent 4761785, Brian E. Clark, et al., âParity Spreading to Enhance Storage Accessâ, issued 1988-08-02 â©
-
US patent 4899342, David Potter et al., âMethod and Apparatus for Operating Multi-Unit Array of Memoriesâ, issued 1990-02-06Â See also The Connection Machine (1988) â©
-
âIBM 7030 Data Processing System: Reference Manualâ (PDF). bitsavers.trailing-edge.com. IBM. 1960. p. 157. Retrieved 2015-01-17. Since a large number of bits are handled in parallel, it is practical to use error checking and correction (ECC) bits, and each 39 bit byte is composed of 32 data bits and seven ECC bits. The ECC bits accompany all data transferred to or from the high-speed disks, and, on reading, are used to correct a single bit error in a byte and detect double and most multiple errors in a byte. â©
-
âIBM Stretch (aka IBM 7030 Data Processing System)â. brouhaha.com. 2009-06-18. Retrieved 2015-01-17. A typical IBM 7030 Data Processing System might have been comprised of the following units: [âŠ] IBM 353 Disk Storage Unit â similar to IBM 1301 Disk File, but much faster. 2,097,152 (2^21) 72-bit words (64 data bits and 8 ECC bits), 125,000 words per second â©
-
Chen, Peter; Lee, Edward; Gibson, Garth; Katz, Randy; Patterson, David (1994). âRAID: High-Performance, Reliable Secondary Storageâ. ACM Computing Surveys. 26 (2): 145â185. CiteSeerXÂ 10.1.1.41.3889. doi:10.1145/176979.176981. S2CIDÂ 207178693. â© â©2 â©3 â©4 â©5 â©6 â©7 â©8 â©9
-
Donald, L. (2003). MCSA/MCSE 2006 JumpStart Computer and Network Basics (2nd ed.). Glasgow: SYBEX. â©
-
Howe, Denis (ed.). âRedundant Arrays of Independent Diskâ. Free On-line Dictionary of Computing (FOLDOC). Imperial College Department of Computing. Retrieved 2011-11-10. â©
-
Dawkins, Bill and Jones, Arnold. âCommon RAID Disk Data Format Specificationâ Archived 2009-08-24 at the Wayback Machine [Storage Networking Industry Association] Colorado Springs, 28 July 2006. Retrieved on 22 February 2011. â©
-
âAdaptec Hybrid RAID Solutionsâ (PDF). Adaptec.com. Adaptec. 2012. Retrieved 2013-09-07. â©
-
âCommon RAID Disk Drive Format (DDF) standardâ. SNIA.org. SNIA. Retrieved 2012-08-26. â©
-
âSNIA Dictionaryâ. SNIA.org. SNIA. Retrieved 2010-08-24. â©
-
Tanenbaum, Andrew S. Structured Computer Organization 6th ed. p. 95. â©
-
Hennessy, John; Patterson, David (2006). Computer Architecture: A Quantitative Approach, 4th ed. p. 362. ISBN 978-0123704900. â©
-
âFreeBSD Handbook, Chapter 20.5 GEOM: Modular Disk Transformation Frameworkâ. Retrieved 2012-12-20. â©
-
White, Jay; Lueth, Chris (May 2010). âRAID-DP:NetApp Implementation of Double Parity RAID for Data Protection. NetApp Technical Report TR-3298â. Retrieved 2013-03-02. â©
-
Newman, Henry (2009-09-17). âRAIDâs Days May Be Numberedâ. EnterpriseStorageForum. Retrieved 2010-09-07. â© â©2 â©3
-
âWhy RAIDÂ 6 stops working in 2019â. ZDNet. 22 February 2010. Archived from the original on August 15, 2010. â©
-
Lowe, Scott (2009-11-16). âHow to protect yourself from RAID-related Unrecoverable Read Errors (UREs). Techrepublicâ. Retrieved 2012-12-01. â© â©2
-
Vijayan, S.; Selvamani, S.; Vijayan, S (1995). âDual-Crosshatch Disk Array: A Highly Reliable Hybrid-RAID Architectureâ. Proceedings of the 1995 International Conference on Parallel Processing: Volume 1. CRC Press. pp. Iâ146ff. ISBN 978-0-8493-2615-8 â via Google Books. â©
-
âWhy is RAID 1+0 better than RAID 0+1?â. aput.net. Retrieved 2016-05-23. â©
-
âRAID 10 Vs RAID 01 (RAID 1+0 Vs RAID 0+1) Explained with Diagramâ. www.thegeekstuff.com. Retrieved 2016-05-23. â©
-
âComparing RAID 10 and RAID 01 | SMB IT Journalâ. www.smbitjournal.com. 30 July 2014. Retrieved 2016-05-23. â©
-
Jeffrey B. Layton: âIntro to Nested-RAID: RAID-01 and RAID-10â[usurped], Linux Magazine, January 6, 2011 â© â©2
-
âPerformance, Tools & General Bone-Headed Questionsâ. tldp.org. Retrieved 2013-12-25. â©
-
âMain Page â Linux-raidâ. osdl.org. 2010-08-20. Archived from the original on 2008-07-05. Retrieved 2010-08-24. â©
-
âHdfs Raidâ. Hadoopblog.blogspot.com. 2009-08-28. Retrieved 2010-08-24. â©
-
â3.8: âHackers of the Lost RAID"". OpenBSD Release Songs. OpenBSD. 2005-11-01. Retrieved 2019-03-23. â© â©2
-
Long, Scott; Adaptec, Inc (2000). âaac(4) â Adaptec AdvancedRAID Controller driverâ. BSD Cross Reference. FreeBSD., âaac â Adaptec AdvancedRAID Controller driverâ. FreeBSD Manual Pages. FreeBSD. â©
-
Raadt, Theo de (2005-09-09). âRAID management support coming in OpenBSD 3.8â. misc@ (Mailing list). OpenBSD. â©
-
Murenin, Constantine A. (2010-05-21). â1.1. Motivation; 4. Sensor Drivers; 7.1. NetBSD envsys / sysmonâ. OpenBSD Hardware Sensors â Environmental Monitoring and Fan Control (MMath thesis). University of Waterloo: UWSpace. hdl:10012/5234. Document ID: ab71498b6b1a60ff817b29d56997a418. â©
-
âRAID over File Systemâ. Archived from the original on 2013-11-09. Retrieved 2014-07-22. â©
-
âZFS Raidz Performance, Capacity and Integrityâ. calomel.org. Retrieved 26 June 2017. â©
-
âZFS -illumosâ. illumos.org. 2014-09-15. Archived from the original on 2019-03-15. Retrieved 2016-05-23. â©
-
âCreating and Destroying ZFS Storage Pools â Oracle Solaris ZFS Administration Guideâ. Oracle Corporation. 2012-04-01. Retrieved 2014-07-27. â©
-
â20.2. The Z File System (ZFS)â. freebsd.org. Archived from the original on 2014-07-03. Retrieved 2014-07-27. â©
-
âDouble Parity RAID-Z (raidz2) (Solaris ZFS Administration Guide)â. Oracle Corporation. Retrieved 2014-07-27. â©
-
âTriple Parity RAIDZ (raidz3) (Solaris ZFS Administration Guide)â. Oracle Corporation. Retrieved 2014-07-27. â©
-
Deenadhayalan, Veera (2011). âGeneral Parallel File System (GPFS) Native RAIDâ (PDF). UseNix.org. IBM. Retrieved 2014-09-28. â©
-
âBtrfs Wiki: Feature Listâ. 2012-11-07. Retrieved 2012-11-16. â©
-
âBtrfs Wiki: Changelogâ. 2012-10-01. Retrieved 2012-11-14. â©
-
Trautman, Philip; Mostek, Jim. âScalability and Performance in Modern File Systemsâ. linux-xfs.sgi.com. Archived from the original on 2015-04-22. Retrieved 2015-08-17. â©
-
âLinux RAID Setup â XFSâ. kernel.org. 2013-10-05. Retrieved 2015-08-17. â©
-
Hewlett Packard Enterprise. âHPE Support document - HPE Support Centerâ. support.hpe.com. â©
-
âMac OS X: How to combine RAID sets in Disk Utilityâ. Retrieved 2010-01-04. â©
-
âApple Mac OS X Server File Systemsâ. Retrieved 2008-04-23. â©
-
âOther World Computing Launches SoftRAID 8 Setting a New Standard for Reliability, Speed and Data Safeguardsâ. TechPowerUp. 2024-03-20. Retrieved 2024-11-24. â©
-
âFreeBSD System Managerâs Manual page for GEOM(8)â. Retrieved 2009-03-19. â©
-
âfreebsd-geom mailing list â new class / geom_raid5â. 6 July 2006. Retrieved 2009-03-19. â©
-
âFreeBSD Kernel Interfaces Manual for CCD(4)â. Retrieved 2009-03-19. â©
-
âThe Software-RAID HowToâ. Retrieved 2008-11-10. â©
-
âmdadm(8) â Linux man pageâ. Linux.Die.net. Retrieved 2014-11-20. â©
-
âWindows Vista support for large-sector hard disk drivesâ. Microsoft. 2007-05-29. Archived from the original on 2007-07-03. Retrieved 2007-10-08. â©
-
âYou cannot select or format a hard disk partition when you try to install Windows Vista, Windows 7 or Windows Server 2008 R2â. Microsoft. 14 September 2011. Archived from the original on 3 March 2011. Retrieved 17 December 2009. â©
-
âUsing Windows XP to Make RAIDÂ 5 Happenâ. Tomâs Hardware. 19 November 2004. Retrieved 24 August 2010. â©
-
Sinofsky, Steven (January 5, 2012). âVirtualizing storage for scale, resiliency, and efficiencyâ. Building Windows 8 blog. Archived from the original on May 9, 2013. Retrieved January 6, 2012. â©
-
Metzger, Perry (1999-05-12). âNetBSD 1.4 Release Announcementâ. NetBSD.org. The NetBSD Foundation. Retrieved 2013-01-30. â©
-
âOpenBSD softraid man pageâ. OpenBSD.org. Retrieved 2018-02-03. â©
-
âFreeBSD Handbookâ. Chapter 19 GEOM: Modular Disk Transformation Framework. Retrieved 2009-03-19. â©
-
âSATA RAID FAQâ. Ata.wiki.kernel.org. 2011-04-08. Retrieved 2012-08-26. â©
-
âRed Hat Enterprise Linux â Storage Administrator Guide â RAID Typesâ. redhat.com. â©
-
Russel, Charlie; Crawford, Sharon; Edney, Andrew (2011). Working with Windows Small Business Server 2011 Essentials. OâReilly Media, Inc. p. 90. ISBN 978-0-7356-5670-3 â via Google Books. â©
-
Block, Warren. â19.5. Software RAID Devicesâ. freebsd.org. Retrieved 2014-07-27. â©
-
Krutz, Ronald L.; Conley, James (2007). Wiley Pathways Network Security Fundamentals. John Wiley & Sons. p. 422. ISBN 978-0-470-10192-6 â via Google Books. â©
-
âHardware RAID vs. Software RAID: Which Implementation is Best for my Application? Adaptec Whitepaperâ (PDF). adaptec.com. â© â©2 â©3
-
Smith, Gregory (2010). PostgreSQL 9.0: High Performance. Packt Publishing Ltd. p. 31. ISBN 978-1-84951-031-8 â via Google Books. â©
-
Ulf Troppens, Wolfgang Mueller-Friedt, Rainer Erkens, Rainer Wolafka, Nils Haustein. Storage Networks Explained: Basics and Application of Fibre Channel SAN, NAS, ISCSI, InfiniBand and FCoE. John Wiley and Sons, 2009. p.39 â©
-
Dell Computers, Background Patrol Read for Dell PowerEdge RAID Controllers, By Drew Habas and John Sieber, Reprinted from Dell Power Solutions, February 2006 http://www.dell.com/downloads/global/power/ps1q06-20050212-Habas.pdf â©
-
âError Recovery Control with Smartmontoolsâ. 2009. Archived from the original on September 28, 2011. Retrieved September 29, 2017. â© â©2 â©3
-
Gray, Jim (Oct 1990). âA census of Tandem system availability between 1985 and 1990â (PDF). IEEE Transactions on Reliability. 39 (4). IEEE: 409â418. doi:10.1109/24.58719. S2CIDÂ 2955525. Archived from the original (PDF) on 2019-02-20. â©
-
Murphy, Brendan; Gent, Ted (1995). âMeasuring system and software reliability using an automated data collection processâ. Quality and Reliability Engineering International. 11 (5): 341â353. doi:10.1002/qre.4680110505. â©
-
Patterson, D., Hennessy, J. (2009), 574. â©
-
âThe RAID Migration Adventureâ. 10 July 2007. Retrieved 2010-03-10. â©
-
Disk Failures in the Real World: What Does an MTTF of 1,000,000 Hours Mean to You? Bianca Schroeder and Garth A. Gibson â©
-
Harris, Robin (2010-02-27). âDoes RAID 6 stop working in 2019?â. StorageMojo.com. TechnoQWAN. Retrieved 2013-12-17. â©
-
J.L. Hafner, V. Dheenadhayalan, K. Rao, and J.A. Tomlin. âMatrix methods for lost data reconstruction in erasure codes. USENIX Conference on File and Storage Technologies, Dec. 13â16, 2005. â©
-
Miller, Scott Alan (2016-01-05). âUnderstanding RAID Performance at Various Levelsâ. Recovery Zone. StorageCraft. Retrieved 2016-07-22. â©
-
Kagel, Art S. (March 2, 2011). âRAIDÂ 5 versus RAIDÂ 10 (or even RAIDÂ 3, or RAIDÂ 4)â. miracleas.com. Archived from the original on November 3, 2014. Retrieved October 30, 2014. â©
-
Baker, M.; Shah, M.; Rosenthal, D.S.H.; Roussopoulos, M.; Maniatis, P.; Giuli, T.; Bungale, P (April 2006). âA fresh look at the reliability of long-term digital storageâ. Proceedings of the 1st ACM SIGOPS/EuroSys European Conference on Computer Systems 2006. pp. 221â234. doi:10.1145/1217935.1217957. ISBN 1595933220. S2CID 7655425. â©
-
Bairavasundaram, L.N.; Goodson, G.R.; Pasupathy, S.; Schindler, J. (June 12â16, 2007). âAn analysis of latent sector errors in disk drivesâ (PDF). Proceedings of the 2007 ACM SIGMETRICS international conference on Measurement and modeling of computer systems. pp. 289â300. doi:10.1145/1254882.1254917. ISBN 9781595936394. S2CID 14164251. â©
-
Patterson, D., Hennessy, J. (2009). Computer Organization and Design. New York: Morgan Kaufmann Publishers. pp 604â605. â©
-
Leventhal, Adam (2009-12-01). âTriple-Parity RAID and Beyond. ACM Queue, Association for Computing Machineryâ. Retrieved 2012-11-30. â© â©2 â©3
-
""Write Holeâ in RAID5, RAID6, RAID1, and Other Arraysâ. ZAR team. Retrieved 15 February 2012. â©
-
Danti, Gionatan. âwrite hole: which RAID levels are affected?â. Server Fault. â© â©2
-
âANNOUNCE: mdadm 3.4 - A tool for managing md Soft RAID under Linux [LWN.net]â. lwn.net. â©
-
âA journal for MD/RAID5 [LWN.net]â. lwn.net. â©
-
[md(4)](https://manned.org/md.4)
 â Linux Programmerâs Manual â Special Files â© -
âPartial Parity Logâ. The Linux Kernel documentation. â©
-
Bonwick, Jeff (2005-11-17). âRAID-Zâ. Jeff Bonwickâs Blog. Oracle Blogs. Archived from the original on 2014-12-16. Retrieved 2015-02-01. â©
-
Overstreet, Kent (18 Dec 2021). âbcachefs: Principles of Operationâ (PDF). Retrieved 10 May 2023. â© â©2
-
Gray, Jim (2008-06-11). âThe Transaction Concept: Virtues and Limitations (Invited Paper)â. VLDB [Very Large Data Bases] 1981. pp. 144â154. Archived from the original on 2008-06-11. â©
-
âDefinition of write-back cache at SNIA dictionaryâ. www.snia.org. â©