Non-standard RAID levels#Declustered RAID

{{Short description|None}}

{{About|non-standard RAID configurations|RAID in general|RAID|other RAID configurations|Standard RAID levels|and|Nested RAID levels}}

Although all RAID implementations differ from the specification to some extent, some companies and open-source projects have developed non-standard RAID implementations that differ substantially from the standard. Additionally, there are non-RAID drive architectures, providing configurations of multiple hard drives not referred to by RAID acronyms.

{{Anchor|DOUBLE-PARITY}}

RAID-DP

Row diagonal parity is a scheme where one dedicated disk of parity is in a horizontal "row" like in RAID 4, but the other dedicated parity is calculated from blocks permuted ("diagonal") like in RAID 5 and 6.{{Cite web |url=https://www.usenix.org/legacy/publications/library/proceedings/fast04/tech/corbett/corbett.pdf |title=Row-Diagonal Parity for Double Disk Failure Correction |publisher=USENIX Association |author=Peter Corbett |author2=Bob English |author3=Atul Goel |author4=Tomislav Grcanac |author5=Steven Kleiman |author6=James Leong |author7=Sunitha Sankar |name-list-style=amp |archive-url=https://web.archive.org/web/20131122203553/http://www.usenix.org/legacy/publications/library/proceedings/fast04/tech/corbett/corbett.pdf |year=2004 |access-date=2013-11-22 |archive-date=2013-11-22 |url-status=live}} Alternative terms for "row" and "diagonal" include "dedicated" and "distributed".{{cite web |last1=Fischer |first1=Werner |title=RAID-DP |url=https://www.thomas-krenn.com/de/wiki/RAID-DP |website=thomas-krenn |access-date=26 May 2023}} Invented by NetApp, it is offered as RAID-DP in their ONTAP systems.{{Cite web|title=RAID-DP: NetApp Implementation of Double-Parity RAID for Data Protection|url=http://www.netapp.com/us/media/tr-3298.pdf|first1=Jay|last1=White|first2=Chris|last2=Lueth|first3=Jonathan|last3=Bell|publisher=Network Appliance|work=NetApp.com|date=March 2003|access-date=2014-06-07}} The technique can be considered RAID 6 in the broad SNIA definition{{Cite web|url=http://www.snia.org/education/dictionary/r/ |title=Dictionary R |website=SNIA.org |publisher=Storage Networking Industry Association |access-date = 2007-11-24}} and has the same failure characteristics as RAID 6. The performance penalty of RAID-DP is typically under 2% when compared to a similar RAID 4 configuration.{{Cite web|title=Back to Basics: RAID-DP {{!}} NetApp Community|url=http://communities.netapp.com/docs/DOC-12850|first1=Jay|last1=White|first2=Carlos|last2=Alvarez|publisher=NetApp|work=NetApp.com|date=October 2011|access-date=2014-08-25}}

RAID 5E, RAID 5EE, and RAID 6E

RAID 5E, RAID 5EE, and RAID 6E (with the added E standing for Enhanced) generally refer to variants of RAID 5 or 6 with an integrated hot-spare drive, where the spare drive is an active part of the block rotation scheme. This spreads I/O across all drives, including the spare, thus reducing the load on each drive, increasing performance. It does, however, prevent sharing the spare drive among multiple arrays, which is occasionally desirable.{{cite web |url=http://www.raidrecoverylabs.com/non_standard_raid_levels/ |title=Non-standard RAID levels |access-date=2013-12-15 |work=RAIDRecoveryLabs.com |archive-url=https://web.archive.org/web/20131215231415/http://www.raidrecoverylabs.com/non_standard_raid_levels/ |archive-date=2013-12-15 |url-status=dead }}

Intel Matrix RAID

File:RAID MATRIX.png

{{Main article|Intel Matrix RAID}}

Intel Matrix RAID (a feature of Intel Rapid Storage Technology) is a feature (not a RAID level) present in the ICH6R and subsequent Southbridge chipsets from Intel, accessible and configurable via the RAID BIOS setup utility. Matrix RAID supports as few as two physical disks or as many as the controller supports. The distinguishing feature of Matrix RAID is that it allows any assortment of RAID 0, 1, 5, or 10 volumes in the array, to which a controllable (and identical) portion of each disk is allocated.{{cite web|url=http://techreport.com/review/8059/intel-matrix-raid-explored |title=Intel's Matrix RAID Explored |publisher=The Tech Report |date=2005-03-09 |access-date=2014-04-02}}{{cite web|url=http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c01386632 |title=Setting Up RAID Using Intel Matrix Storage Technology |publisher=Hewlett Packard |work=HP.com |access-date=2014-04-02}}{{cite web |url= http://www.intel.com/design/chipsets/matrixstorage_sb.htm |publisher=Intel |work=Intel.com |title= Intel Matrix Storage Technology |date=2011-11-05 |access-date=2014-04-02}}

As such, a Matrix RAID array can improve both performance and data integrity. A practical instance of this would use a small RAID 0 (stripe) volume for the operating system, program, and paging files; second larger RAID 1 (mirror) volume would store critical data. Linux MD RAID is also capable of this.

{{Anchor|LINUX-MD-RAID-10}}

Linux MD RAID 10

The software RAID subsystem provided by the Linux kernel, called Linux MD RAID, supports the creation of both classic (nested) RAID 1+0 arrays, and non-standard RAID arrays that use a single-level RAID layout with some additional features.{{cite web|title=Creating Software RAID 10 Devices|url=https://www.suse.com/documentation/sles-12/stor_admin/data/cha_raid10.html|publisher=SUSE|access-date=11 May 2016|ref=suse-raid10}}{{cite web|title=Nested RAID Levels|url=https://wiki.archlinux.org/index.php/RAID#Nested_RAID_levels|publisher=Arch Linux|access-date=11 May 2016|ref=arch-raid10}}

The standard "near" layout, in which each chunk is repeated {{var|n}} times in a {{var|k}}-way stripe array, is equivalent to the standard RAID 10 arrangement, but it does not require that {{var|n}} evenly divides {{var|k}}. For example, an {{var|n}}2 layout on two, three, and four drives would look like:{{cite web|title=Creating a Complex RAID 10|url=https://www.suse.com/documentation/sles-12/stor_admin/data/sec_raid10_complex.html|publisher=SUSE|access-date=11 May 2016}}{{cite web|url=http://www.ilsistemista.net/index.php/linux-a-unix/35-linux-software-raid-10-layouts-performance-near-far-and-offset-benchmark-analysis.html?start=1 |title=Linux Software RAID 10 Layouts Performance: Near, Far, and Offset Benchmark Analysis |work=Ilsistemista.net |date=2012-08-28 |access-date=2014-03-08 |archiveurl=https://web.archive.org/web/20230324162214/https://www.ilsistemista.net/index.php/linux-a-unix/35-linux-software-raid-10-layouts-performance-near-far-and-offset-benchmark-analysis.html?start=1 |archivedate=2023-03-24}}

2 drives 3 drives 4 drives

-------- ---------- --------------

A1 A1 A1 A1 A2 A1 A1 A2 A2

A2 A2 A2 A3 A3 A3 A3 A4 A4

A3 A3 A4 A4 A5 A5 A5 A6 A6

A4 A4 A5 A6 A6 A7 A7 A8 A8

.. .. .. .. .. .. .. .. ..

The four-drive example is identical to a standard RAID 1+0 array, while the three-drive example is a software implementation of RAID 1E. The two-drive example is equivalent to RAID 1.

The driver also supports a "far" layout, in which all the drives are divided into {{var|f}} sections. All the chunks are repeated in each section but are switched in groups (for example, in pairs). For example, {{var|f}}2 layouts on two-, three-, and four-drive arrays would look like this:

2 drives 3 drives 4 drives

-------- ------------ ------------------

A1 A2 A1 A2 A3 A1 A2 A3 A4

A3 A4 A4 A5 A6 A5 A6 A7 A8

A5 A6 A7 A8 A9 A9 A10 A11 A12

.. .. .. .. .. .. .. .. ..

A2 A1 A3 A1 A2 A2 A1 A4 A3

A4 A3 A6 A4 A5 A6 A5 A8 A7

A6 A5 A9 A7 A8 A10 A9 A12 A11

.. .. .. .. .. .. .. .. ..

"Far" layout is designed for offering striping performance on a mirrored array; sequential reads can be striped, as in RAID 0 configurations.{{cite web

| url = http://blog.jamponi.net/2008/07/raid56-and-10-benchmarks-on-26255_10.html

| title = RAID5,6 and 10 Benchmarks on 2.6.25.5

| date = 2008-07-10 | access-date = 2014-01-01

| author = Jon Nelson | work = Jamponi.net

}} Random reads are somewhat faster, while sequential and random writes offer about equal speed to other mirrored RAID configurations. "Far" layout performs well for systems in which reads are more frequent than writes, which is a common case. For a comparison, regular RAID 1 as provided by Linux software RAID, does not stripe reads, but can perform reads in parallel.{{cite web |title=Performance, Tools & General Bone-Headed Questions |url=http://www.tldp.org/HOWTO/Software-RAID-0.4x-HOWTO-8.html |work=TLDP.org |access-date=2014-01-01}}

The md driver also supports an "offset" layout, in which each stripe is repeated {{var|o}} times and offset by {{var|f}} (far) devices. For example, {{var|o}}2 layouts on two-, three-, and four-drive arrays are laid out as:

2 drives 3 drives 4 drives

-------- ---------- ---------------

A1 A2 A1 A2 A3 A1 A2 A3 A4

A2 A1 A3 A1 A2 A4 A1 A2 A3

A3 A4 A4 A5 A6 A5 A6 A7 A8

A4 A3 A6 A4 A5 A8 A5 A6 A7

A5 A6 A7 A8 A9 A9 A10 A11 A12

A6 A5 A9 A7 A8 A12 A9 A10 A11

.. .. .. .. .. .. .. .. ..

It is also possible to combine "near" and "offset" layouts (but not "far" and "offset").

In the examples above, {{var|k}} is the number of drives, while {{var|n#}}, {{var|f#}}, and {{var|o#}} are given as parameters to mdadm's {{samp|--layout}} option. Linux software RAID (Linux kernel's {{samp|md}} driver) also supports creation of standard RAID 0, 1, 4, 5, and 6 configurations.{{cite web |url= http://linux.die.net/man/8/mdadm |title=mdadm(8): manage MD devices aka Software RAID - Linux man page |work=Linux.Die.net |access-date=2014-03-08}}{{cite web |url= http://linux.die.net/man/4/md |title=md(4): Multiple Device driver aka Software RAID - Linux man page |work=Die.net |access-date=2014-03-08}}

RAID 1E

File:RAID 1E.png

Some RAID 1 implementations treat arrays with more than two disks differently, creating a non-standard RAID level known as RAID 1E. In this layout, data striping is combined with mirroring, by mirroring each written stripe to one of the remaining disks in the array. Usable capacity of a RAID 1E array is 50% of the total capacity of all drives forming the array; if drives of different sizes are used, only the portions equal to the size of smallest member are utilized on each drive.{{cite web

| url = http://www.adaptec.com/en-us/_common/compatibility/_education/raid_level_compar_wp.htm#2.3

| title = Which RAID Level is Right for Me?: RAID 1E (Striped Mirroring)

| access-date = 2014-01-02

| publisher = Adaptec

}}{{cite web

|url = http://www.lsi.com/downloads/Public/Combo/Combo%20Common%20Files/SCG_LSI_SAS_6Gbps_IR_PB_092909.pdf

|archive-url = https://web.archive.org/web/20110628184151/http://www.lsi.com/downloads/Public/Combo/Combo%20Common%20Files/SCG_LSI_SAS_6Gbps_IR_PB_092909.pdf

|url-status = dead

|archive-date = 2011-06-28

|title = LSI 6 Gb/s Serial Attached SCSI (SAS) Integrated RAID: A Product Brief

|year = 2009

|access-date = 2015-01-02

|publisher = LSI Corporation

}}

One of the benefits of RAID 1E over usual RAID 1 mirrored pairs is that the performance of random read operations remains above the performance of a single drive even in a degraded array.

RAID-Z

{{See also|ZFS#ZFS's approach: RAID-Z and mirroring}}

The ZFS filesystem provides RAID-Z, a data/parity distribution scheme similar to RAID 5, but using dynamic stripe width: every block is its own RAID stripe, regardless of blocksize, resulting in every RAID-Z write being a full-stripe write. This, when combined with the copy-on-write transactional semantics of ZFS, eliminates the write hole error. RAID-Z is also faster than traditional RAID 5 because it does not need to perform the usual read–modify–write sequence. RAID-Z does not require any special hardware, such as NVRAM for reliability, or write buffering for performance.{{cite web |url= https://blogs.oracle.com/bonwick/en_US/entry/raid_z |title= RAID-Z |website= Jeff Bonwick's Blog |publisher= Oracle Blogs |date= 2005-11-17 |access-date= 2015-02-01 |first= Jeff |last= Bonwick |url-status= dead |archive-url= https://web.archive.org/web/20141216015058/https://blogs.oracle.com/bonwick/en_US/entry/raid_z |archive-date= 2014-12-16 }}

Given the dynamic nature of RAID-Z's stripe width, RAID-Z reconstruction must traverse the filesystem metadata to determine the actual RAID-Z geometry. This would be impossible if the filesystem and the RAID array were separate products, whereas it becomes feasible when there is an integrated view of the logical and physical structure of the data. Going through the metadata means that ZFS can validate every block against its 256-bit checksum as it goes, whereas traditional RAID products usually cannot do this.

In addition to handling whole-disk failures, RAID-Z can also detect and correct silent data corruption, offering "self-healing data": when reading a RAID-Z block, ZFS compares it against its checksum, and if the data disks did not return the right answer, ZFS reads the parity and then figures out which disk returned bad data. Then, it repairs the damaged data and returns good data to the requestor.

There are five different RAID-Z modes: RAID-Z0 (similar to RAID 0, offers no redundancy), RAID-Z1 (similar to RAID 5, allows one disk to fail), RAID-Z2 (similar to RAID 6, allows two disks to fail), RAID-Z3 (a RAID 7 {{Efn|name="RAID7"|While RAID 7 is not a standard RAID level, it has been proposed as a catch-all term for any >2 parity RAID configuration{{cite journal |last1=Leventhal |first1=Adam |title=Triple-Parity RAID and Beyond |journal=Queue |date=2009-12-17 |volume=7 |issue=11 |page=30 |doi=10.1145/1661785.1670144 |doi-access=free }}}} configuration, allows three disks to fail), and mirror (similar to RAID 1, allows all but one of the disks to fail).{{cite web|title=ZFS Raidz Performance, Capacity and integrity|url=https://calomel.org/zfs_raid_speed_capacity.html|website=calomel.org|access-date=23 June 2017|archive-url=https://web.archive.org/web/20171127225445/https://calomel.org/zfs_raid_speed_capacity.html|archive-date=27 November 2017|url-status=dead}}

Drive Extender

Windows Home Server Drive Extender is a specialized case of JBOD RAID 1 implemented at the file system level.Separate from Windows' Logical Disk Manager

Microsoft announced in 2011 that Drive Extender would no longer be included as part of Windows Home Server Version 2, Windows Home Server 2011 (codename VAIL).{{cite web|url=https://www.theregister.co.uk/2010/11/25/vail_drive_extender_ditched/|title=MS drops drive pooling from Windows Home Server|website=The Register }} As a result, there has been a third-party vendor move to fill the void left by DE. Included competitors are Division M, the developers of Drive Bender, and StableBit's DrivePool.{{cite web |url=http://www.wegotserved.com/2011/10/10/drive-bender-public-release-arriving-week/ |title=Drive Bender Public Release Arriving This Week |publisher=We Got Served |access-date=2014-01-15 |archive-url=https://web.archive.org/web/20170820034217/http://wegotserved.com/2011/10/10/drive-bender-public-release-arriving-week/ |archive-date=2017-08-20 |url-status=usurped }}{{cite web|url=http://www.homemediatech.net/stablebit-drivepool-2-year-review/83|title=StableBit DrivePool 2 Year Review|work=Home Media Tech|date=December 2013 }}

BeyondRAID

BeyondRAID is not a true RAID extension, but consolidates up to 12 SATA hard drives into one pool of storage.Data Robotics, Inc. implements BeyondRaid in their Drobostorage device. It has the advantage of supporting multiple disk sizes at once, much like JBOD, while providing redundancy for all disks and allowing a hot-swap upgrade at any time. Internally it uses a mix of techniques similar to RAID 1 and 5. Depending on the fraction of data in relation to capacity, it can survive up to three drive failures,{{cn|date=December 2018}} if the "array" can be restored onto the remaining good disks before another drive fails. The amount of usable storage can be approximated by summing the capacities of the disks and subtracting the capacity of the largest disk. For example, if a 500, 400, 200, and 100 GB drive were installed, the approximate usable capacity would be 500 + 400 + 200 + 100 − 500 = 700 GB of usable space. Internally the data would be distributed in two RAID 5–like arrays and two RAID 1-like sets:

Drives

| 100 GB | | 200 GB | | 400 GB | | 500 GB |

----------

| x | unusable space (100 GB)

----------

---------- ----------

| A1 | | A1 | RAID 1 set (2× 100 GB)

---------- ----------

---------- ----------

| B1 | | B1 | RAID 1 set (2× 100 GB)

---------- ----------

---------- ---------- ----------

| C1 | | C2 | | Cp | RAID 5 array (3× 100 GB)

---------- ---------- ----------

---------- ---------- ---------- ----------

| D1 | | D2 | | D3 | | Dp | RAID 5 array (4× 100 GB)

---------- ---------- ---------- ----------

BeyondRaid offers a RAID 6–like feature and can perform hash-based compression using 160-bit SHA-1 hashes to maximize storage efficiency.Detailed technical information about BeyondRaid, including how it handles adding and removing drives, is: {{Cite patent| country=US|number=20070266037|url=https://patents.google.com/patent/US20070266037A1/en|inventor= Julian Terry|inventor2=Geoffrey Barrall|inventor3=Neil Clarkson |assign= DROBO Inc|title=Filesystem-Aware Block Storage System, Apparatus, and Method}}

Unraid

{{Main article|Unraid}}

Unraid is a proprietary Linux-based operating system optimized for media file storage.{{cite web|url=http://lime-technology.com/unraid-server/ |archive-url=https://web.archive.org/web/20140105124109/http://lime-technology.com/unraid-server/ |url-status=dead |archive-date=2014-01-05 |title=What is unRAID? |publisher=Lime Technology |work=Lime-Technology.com |date=2013-10-17 |access-date=2014-01-15}}

Unfortunately Unraid doesn't provide information about its storage technology, but some{{who|date=June 2022}} say its parity array is a rewrite of the mdadm module.

Disadvantages include closed-source code, {{citation needed span|date=April 2022|high price}}, {{citation needed span|date=April 2022|slower write performance than a single disk}} and bottlenecks when multiple drives are written concurrently. However, Unraid allows support of a cache pool which can dramatically speed up the write performance. Cache pool data can be temporarily protected using Btrfs RAID 1 until Unraid moves it to the array based on a schedule set within the software.{{Citation needed|date=September 2016}}

Advantages include lower power consumption than standard RAID levels, the ability to use multiple hard drives with differing sizes to their full capacity and in the event of multiple concurrent hard drive failures (exceeding the redundancy), only losing the data stored on the failed hard drives compared to standard RAID levels which offer striping in which case all of the data on the array is lost when more hard drives fail than the redundancy can handle.{{cite web|url=http://lime-technology.com/technology/ |archive-url=https://web.archive.org/web/20140105124109/http://lime-technology.com/technology/ |url-status=dead |archive-date=2014-01-05 |title=LimeTech – Technology |publisher=Lime Technology |work=Lime-Technology.com |date=2013-10-17 |access-date=2014-02-09}}

CRYPTO softraid

In OpenBSD, CRYPTO is an encrypting discipline for the softraid subsystem. It encrypts data on a single chunk to

provide for data confidentiality. CRYPTO does not provide redundancy.{{cite web|url=https://man.openbsd.org/softraid.4 |title=Manual Pages: softraid(4) |work=OpenBSD.org |date=2022-09-06 |access-date=2022-09-08}}

RAID 1C provides both redundancy and encryption.

DUP profile

Some filesystems, such as Btrfs,{{cite web|url=https://github.com/kdave/btrfs-progs/blob/devel/Documentation/mkfs.btrfs.asciidoc |title=Manual Pages: mkfs.btrfs(8) |work=btrfs-progs |date=2018-01-08 |access-date=2018-08-17}} and ZFS/OpenZFS (with per-dataset copies=1|2|3 property),{{Cite web|url=https://illumos.org/man/1m/zfs|title=Maintenance Commands zfs - configures ZFS file system|website=illumos: manual page: zfs.1m}} support creating multiple copies of the same data on a single drive or disks pool, protecting from individual bad sectors, but not from large numbers of bad sectors or complete drive failure. This allows some of the benefits of RAID on computers that can only accept a single drive, such as laptops.

{{anchor|Declustered RAID}}

Declustered RAID

Declustered RAID allows for arbitrarily sized disk arrays while reducing the overhead to clients when recovering from disk failures. It uniformly spreads or declusters user data, redundancy information, and spare space across all the disks of a declustered array. Under traditional RAID, an entire disk storage system of, say, 100 disks would be split into multiple arrays each of, say, 10 disks. By contrast, under declustered RAID, the entire storage system is used to make one array. Every data item is written twice, as in mirroring, but logically adjacent data and copies are spread arbitrarily. When a disk fails, erased data is rebuilt using all the operational disks in the array, the bandwidth of which is greater than that of the fewer disks of a conventional RAID group. Furthermore, if an additional disk fault occurs during a rebuild, the number of impacted tracks requiring repair is markedly less than the previous failure and less than the constant rebuild overhead of a conventional array. The decrease in declustered rebuild impact and client overhead can be a factor of three to four times less than a conventional RAID. File system performance becomes less dependent upon the speed of any single rebuilding storage array.{{cite web | url=https://www.ibm.com/support/knowledgecenter/en/SSYSP8_5.3.4/com.ibm.spectrum.scale.raid.v5r03.adm.doc/bl1adv_introdeclustered.htm |title=Declustered RAID |date=14 June 2019 |publisher=IBM |access-date=1 February 2020}}

Dynamic disk pooling (DDP), also known as D-RAID, maintains performance even when up to 2 drives fail simultaneously.

IBM.

[https://www.ibm.com/docs/en/ts7700-virtual-tape/4.0?topic=overview-dynamic-disk-pooling-ddp "Dynamic Disk Pooling (DDP)"].

DDP is a high performance type of declustered RAID.

[https://www.nec.com/en/global/solutions/hpc/storage/docs/NEC_Brochure_GxFS.pdf "High Performance Computing: NEC GxFS Storage Appliance"].

p. 6.

See also

Explanatory notes

{{notelist}}

References

{{Reflist|30em}}

  • [https://v-tip.com/view/album/enterprise-server-build.html How To Build A Server Using Enterprise Parts]

{{RAID}}

{{DEFAULTSORT:Non-standard RAID levels}}

Category:RAID