RAID 0

striped + no redundancy

On this page

Derived by hand from the Linux md rule — how the pages are sourced

Data dealt out in chunks across every disk and nothing else: no copy, no parity. Every disk works on every large request, so it is the fastest layout there is and uses all the space; and any one disk failing loses everything on all of them.

What it is

RAID 0 is the pair striped + no redundancy: the data is cut into chunks and dealt across the members in turn (striping), and that is all. The 1988 paper that named RAID defines five levels, from mirroring upward; a stripe with no redundancy is not one of them, and the name came later, for exactly the case the paper opens with: an array whose time to failure is one disk's divided by the number of disks (redundancy).

Advantages

Every property of striping, with nothing subtracted:

  • Bandwidth. One large request is spread over all N disks and is served at their combined bandwidth.
  • Throughput. N small requests at unrelated addresses are served at once.
  • Capacity. Every byte of every disk holds data: the capacity is the sum of the members.
  • Write cost. The write penalty is one: a logical write is one disk write.

No other layout matches it on any of these, which is why it is the reference the others are measured against (performance).

Disadvantages

  • Fault tolerance. Zero (fault tolerance), and the loss is total. A stripe that loses a disk loses every file larger than a chunk, because each of them had a piece there. The array does not become smaller, it becomes unreadable.
  • Failure rate. It grows with the disk count: ten disks fail, between them, ten times as often as one.

Use cases

The level is right for data that can be lost or remade: scratch space for editing, render caches, a build directory, anything whose source is elsewhere. The chunk size is its one parameter, and the only decision after the disk count. Two disks is the minimum, because an array of one member is that member; there is no smaller array it could become.

Other names

Linux md calls it raid0 and copes with disks of unequal size by continuing the stripe over the larger ones once the smaller are full (segmentation); Windows Storage Spaces calls it a simple space, "data striped across multiple drives" with "no resiliency or redundancy". JBOD is the linear equivalent: the same absence of redundancy and the same loss of the whole volume when a disk fails, without the speed.

Segmentation

Definition

How an array splits its data across its member disks. Striped cuts the data into fixed-size chunks and deals them out to every member in turn; linear writes it as one run, filling the first member before touching the next. Segmentation is about how many disks take part in one request, not about whether the data survives a failure.

Read more — Segmentation

How RAID 0 places its data

The grid below is the placement of a RAID 0 array of 4 disks, as the Linux md rule produces it. Each column is one disk, each row is one stripe, and each cell names the block that lands there: D followed by a number for a data chunk. Reading a row from left to right shows how one stripe is dealt across the members; reading a column from top to bottom shows what one disk ends up holding.

RAID 0 · 4 disks

          disk 0  disk 1  disk 2  disk 3
stripe 0      D0      D1      D2      D3
stripe 1      D4      D5      D6      D7
stripe 2      D8      D9     D10     D11
stripe 3     D12     D13     D14     D15

Redundancy

Definition

How an array keeps its data readable when a member fails: by storing more than the data itself. Two techniques do it. Mirroring keeps whole copies on separate disks; parity keeps a computed summary from which any one missing block, or two with a second parity, can be rebuilt. Redundancy always costs capacity; the question is how much, and how many failures it covers.

Read more — Redundancy

The numbers for RAID 0

Three quantities follow from the redundancy alone: usable capacity, fault tolerance and write penalty. Below they are worked out for the example array, 4 disks of 2 TB each. Each block states the general rule on its first line, then substitutes the numbers of the example on the lines that follow.

N × disk size
N = 4 disks of 2 TB → 4 × 2 TB = 8 TB usable

the members an adversary must kill, minus one
no redundancy: any one member gone kills it → 1 → tolerance 0

one logical write costs
no copies and no parity → 1 I/O, random or sequential

Algorithm

Definition

The rule that says, stripe by stripe, which member holds the parity and where the data starts, or where a mirror's copies go. The level says what is stored; the algorithm says where. Left-symmetric for the parity levels and near for RAID 10 are the defaults nearly everything uses. The choice changes speed and compatibility, not capacity or safety.

Read more — Placement algorithm

The placement algorithms RAID 0 accepts

A placement algorithm decides where the parity blocks or the copies go within each stripe. RAID 0 has none to choose from: a plain stripe has no parity and no copies to place.

RAID engine

Definition

The component that turns a RAID layout into disk operations. It owns the array's metadata, translates every request from the array's addresses to the members', writes the copies or computes the parity, and keeps serving when a disk fails. It is a role, not a fixed device: a RAID-on-Chip on a controller card, the operating system's own driver, or a boot firmware working with that driver.

Read more — RAID engine

The components that can be the RAID engine of RAID 0

In any given system, exactly one component holds the role of RAID engine: a hardware controller with its own processor, a firmware chip that keeps the metadata while the operating system's driver does the work, or the operating system alone. They are alternatives, not layers, so a system has one of them and not the others. The list below names the components that can hold that role for a RAID 0 array, and what each of them does with the level.

RAID Engine (RoC)
A dedicated PCIe card that includes BOTH the HBA (protocol translation) AND a RAID-on-Chip (RoC) processor. The RoC computes parity, manages the stripe, and exposes one or more Virtual Drives to the OS — the OS never sees the individual physical disks. Examples: Broadcom MegaRAID, Adaptec SmartRAID.
RAID Engine (RoC, tri-mode)
A RAID-on-Chip controller whose ports speak SAS, SATA and NVMe alike (Broadcom MegaRAID 9500/9600 "tri-mode", Adaptec SmartRAID 3200). NVMe drives plug straight into it — no HBA, no SAS/SATA backplane in between — and it still builds the array itself and exposes one virtual drive to the OS. It is the one way hardware RAID over NVMe exists.
RAID Engine (metadata)
A dedicated chip placed between the HBA and the CPU (on the motherboard or near it) that owns the RAID metadata and boot firmware — no compute silicon of its own. The OS still sees individual disks (unlike hardware RAID) but uses a driver to participate in RAID operations; the actual parity computation runs on the CPU. The canonical example is Intel RST (Rapid Storage Technology) on Intel chipsets. Also known as "motherboard RAID", "BIOS RAID", or, once its wiring reveals what it is, "fake RAID".
OS — Linux
Linux operating system managing the RAID array in software. Uses mdadm (for traditional RAID 0/1/5/6/10) or ZFS (with integrated volume management and checksums). The CPU computes all parity; no dedicated hardware required.
OS — Windows
Windows operating system managing RAID in software via Storage Spaces (Windows 8+/Server 2012+) or legacy Disk Management (dynamic volumes). Storage Spaces supports mirroring, striping, and parity spaces with optional journaling for crash consistency.

What happens with fewer disks than the minimum

RAID 0 has nothing below its minimum of 2 disks: an array of one member is that member, so two disks is the smallest array of any kind and no RAID level exists on one disk.

In practice

Strengths

  • Maximum read and write throughput (all disks active in parallel)
  • Full utilization: no disk space lost to parity or mirroring

Limitations

  • Zero fault tolerance: one disk failure destroys all data
  • The more disks, the higher the probability of a failure

Use cases

  • Video editing scratch disks
  • Temporary rendering caches
  • Test environments where data loss is acceptable

Not suited for

  • Anything you cannot afford to lose
  • Production databases
  • Long-term storage

Try it

Open this example in the sandbox

A desktop link: on a phone or in a narrow window the sandbox is not offered.

See also

Related

Often confused with