All guides
Home Glossary RAID 1
Term

RAID 1

A data storage virtualization technology that replicates data onto two or more drives to provide redundancy and fault tolerance.

RAID 1 (Redundant Array of Independent Disks, level 1), commonly called disk mirroring, is a data storage virtualization technology that replicates identical copies of data onto two or more physical drives to provide redundancy and fault tolerance. Every block of data is written simultaneously to all disks in the array, ensuring continuous operation without downtime if a single drive fails. Because data is duplicated rather than striped or parity-calculated, RAID 1 offers straightforward recovery and high availability for critical workloads.

How it works

In a standard two-drive RAID 1 setup, the storage controller or operating system writes incoming data to both disks at the same time. This results in a 50% storage efficiency (100% capacity overhead), meaning two 1 TB drives yield 1 TB of usable space. If you combine drives of different capacities, the smallest drive dictates the total usable volume size.

Write performance matches that of a single drive, because every write operation must complete on all mirrored disks before finishing. Conversely, read performance often improves significantly: modern controllers and software implementations can read different blocks from separate drives concurrently, nearly doubling read IOPS in a two-disk array. As long as at least one drive remains functional, the server stays online.

Example

On a Linux server, system administrators frequently configure software RAID 1 for the root operating system partition using the mdadm utility. To create a mirrored array named /dev/md0 from two identical NVMe partitions, you run:

mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/nvme0n1p1 /dev/nvme1n1p1

Once initialized, /dev/md0 is formatted with a filesystem like ext4 or XFS and mounted normally. You can verify synchronization progress at any time by inspecting /proc/mdstat. For deeper insight into Linux software arrays, see our guide on Manual Software RAID Setup: Our Performance & Stability Data.

What matters when choosing a server or hosting

When provisioning dedicated servers or bare-metal infrastructure, RAID 1 is the standard choice for boot volumes, transactional databases, and mission-critical applications where uptime outweighs raw storage capacity. Decide early between hardware RAID (handled by a dedicated controller card with battery-backed cache) and software RAID (managed by the OS kernel, such as Linux mdadm or ZFS mirrors).

Software RAID avoids proprietary controller lock-in, allowing you to mount a surviving drive directly on another machine if the motherboard fails. Additionally, verify that your hosting provider supports hot-swappable drive bays and proactive SMART monitoring so degraded arrays can be rebuilt before a second disk fails. Compare implementation trade-offs in DIY RAID Massif: Building a High-Performance Storage Array.

Common mistakes

  • Treating RAID 1 as a backup: Mirroring protects against hardware failure, not accidental deletion, ransomware, or filesystem corruption. A corrupted file is immediately replicated to the second drive.
  • Using identical drive batches: Purchasing two drives from the same manufacturing batch increases the risk of simultaneous wear-out failures under identical workloads.
  • Forgetting the bootloader on both disks: In software RAID setups, failing to install GRUB or the EFI boot partition on both drives leaves the server unable to boot if the primary disk dies.

FAQ

Can I expand a RAID 1 array by adding a third drive?

Adding a third drive to a standard RAID 1 array creates a three-way mirror rather than increasing usable storage capacity. It improves fault tolerance (allowing two drives to fail) and concurrent read speeds, while total space remains equal to a single drive.

What happens during a RAID 1 rebuild?

After replacing a failed drive, the controller copies all data from the healthy disk to the new one. Read and write performance temporarily drops during this rebuild window, and the array has zero redundancy until synchronization finishes—a dynamic explored further in DIY RAID: Array Reliability and Performance.

Is RAID 1 good for SSDs and NVMe drives?

Yes, RAID 1 works well with solid-state storage because it avoids the write amplification penalty caused by parity calculations in RAID 5 or RAID 6, preserving drive endurance while maintaining low latency.

All glossary terms

Glossary

Related terms

Full glossary

New guides every week.

A digest of the best pieces on servers, VPN and self-hosted software. No ads, no spam.

1 email a weekOne-click unsubscribeRU · EN
Only slipjar.app articles, nothing else.