raidisnotabackup/content/2.md

24 lines
1.3 KiB
Markdown
Raw Normal View History

2016-09-28 12:17:03 -04:00
+++
title = "So why do I need a backup?"
description = "Because RAID protects you against one and only one specific thing: disk failures."
weight = 2
type = "post"
+++
2016-09-29 13:33:00 -04:00
Having a number of disks in RAID may _seem_ like a backup, especially if you're using a mirror mode. But this is _wrong_!
2016-09-28 12:17:03 -04:00
2016-09-29 13:17:31 -04:00
RAID protects you against one and only one thing: a disk failure.
2016-09-29 13:33:00 -04:00
It does _not_ protect you against any of the following things:
2016-09-28 12:17:03 -04:00
2016-09-28 12:26:35 -04:00
* Multiple disk failures beyond the RAID level chosen (e.g. both disks in a mirror, or 3 disks in a RAID-6).
2016-09-28 19:09:54 -04:00
* Failure of the RAID controller itself (especially when using hardware RAID), the computer running the RAID, or the environment (a flood, fire, theft, etc.).
* Data corruption on-disk from filesystem bugs, cosmic rays, or minor hardware or firmware failures.
2016-09-28 19:09:54 -04:00
* Malicious or accidental deletion or modification of files by yourself or another party, including viruses, bad application writes, or administrative mistakes (e.g. `rm`-ing the wrong file or `mkfs` on an existing filesystem).
2016-09-28 18:58:14 -04:00
Even ZFS, designed specifically to prevent the third point, is still susceptable to the others.
2016-09-28 12:17:03 -04:00
2016-09-29 13:33:00 -04:00
The adage is simple: "RAID replicates _everything_, instantly, even the stuff you don't want." Like the deletion of a file or corruption.
2016-09-28 12:17:03 -04:00
For these reasons and more, RAID IS NOT A BACKUP!