What is the difference between RAID 0, 1, 5, 6 and 10?
IntermediateConceptStorage & Memory
Answer
- RAID 0: striping, no redundancy, fastest; one disk loss = data loss.
- RAID 1: mirroring, 50% capacity, survives one disk loss.
- RAID 5: striping with single parity, survives 1 disk; slow writes, long risky rebuilds on big disks.
- RAID 6: double parity, survives 2 disks.
- RAID 10: striped mirrors; fast and resilient; the default for databases.
Software RAID on Linux is mdadm; check cat /proc/mdstat. RAID is not a backup.
More on Storage & Memory
How do you list disks, partitions and filesystems?IntermediateMBR vs GPT partition tables?IntermediateWalk through adding a new disk and mounting it permanently.IntermediateExplain the six fields of an /etc/fstab line.IntermediateWhy use UUIDs and `nofail` in fstab?IntermediateWhat does a bad fstab entry do, and how do you recover?Advanced