Surveillance storage has an unusual workload. It writes continuously, day and night, from dozens or hundreds of streams, and it reads only when someone reviews or exports footage. The array is usually large, built from high-capacity hard drives, and expected to run for years with little attention.
Those traits change which RAID level makes sense. This article compares RAID 5, RAID 6 and RAID 10 for surveillance recording on capacity, write performance, rebuild behaviour and risk, and gives a recommendation for common camera counts.
The three levels in brief
- RAID 5 stripes data across all drives with one drive's worth of parity. It survives one drive failure.
- RAID 6 uses two drives' worth of parity. It survives any two drive failures. On ZFS the equivalent is raidz2.
- RAID 10 mirrors pairs of drives and stripes across the pairs. It survives one failure per mirror pair, but two failures in the same pair lose the array.
Capacity: what each level costs you
Using a hypothetical 12-bay system with 16 TB drives (192 TB raw):
| Level | Drives for redundancy | Usable before file-system overhead | Efficiency |
|---|---|---|---|
| RAID 5 | 1 | 176 TB | 92% |
| RAID 6 | 2 | 160 TB | 83% |
| RAID 10 | 6 | 96 TB | 50% |
Since surveillance is usually capacity-driven, RAID 10's 50% efficiency is a heavy price: the same retention would need nearly twice as many drives. On ZFS, raidz2 usable is somewhat less than the (n−2)/n figure because of allocation padding and a pool reserve; the capacity calculator shows the real number, and raw vs usable capacity explains why.
Write performance under continuous recording
Parity RAID has a reputation for slow writes, because small random writes force a read-modify-write of the parity. Surveillance writes are different: each stream is a sequential flow of video, and a recording server or NAS typically buffers and writes in large chunks. Full-stripe sequential writes avoid most of the parity penalty, so RAID 6 handles continuous recording well when the system has adequate memory and drive count.
Some arithmetic helps. 200 cameras at 4 Mbps produce 800 Mbps, or 100 MB/s of sustained writes. A RAID 6 group of 12 modern 7,200 rpm drives can stream several times that sequentially. Where RAID 10 genuinely wins is mixed random I/O: many simultaneous playback sessions, analytics reading old footage, or a VMS database on the same volume. If you have that mix, put the database and indexes on a small SSD or RAID 10 volume and keep footage on RAID 6.
Rebuilds: where the real risk lies
When a drive fails, the array rebuilds onto a replacement by reading every remaining drive. With large drives this takes a long time, and the recording load continues throughout. As a rough illustration, rewriting 16 TB at an effective 100 MB/s takes about 16,000,000 ÷ 100 = 160,000 seconds, around 44 hours; under a heavy recording load it can take longer.
During that window:
- RAID 5 has no redundancy left. A second drive failure, or an unreadable sector on a surviving drive, can lose data or the whole array. Drives bought together, run together and stressed by a rebuild make a second failure more likely than random chance suggests.
- RAID 6 still tolerates one more failure, so an unreadable sector or second drive failure during the rebuild is survivable.
- RAID 10 rebuilds quickly, copying only from the surviving mirror partner, but if that one partner fails during the copy the array is lost.
For arrays of large hard drives, this is why RAID 6 has become the default for surveillance. ZFS adds an advantage: it rebuilds (resilvers) only the blocks actually in use, and it verifies every block against its checksum, so silent corruption is detected and repaired from parity. See hot spares and rebuild time on large drives and ZFS checksums and scrubs.
Group width for large systems
On 24-bay systems and larger, one 24-drive RAID 6 group is possible but makes rebuilds longer and leaves only two drives of protection across many disks. A common pattern is two RAID 6 groups of 11 or 12 drives (RAID 60, or two raidz2 vdevs in one ZFS pool), optionally with a hot spare. You give up a little capacity for faster rebuilds and higher overall resilience.
| 24 × 16 TB layout | Usable before overhead | Failures tolerated |
|---|---|---|
| 1 × RAID 6 (24 drives) | 352 TB | Any 2 |
| 2 × RAID 6 of 12 (RAID 60) | 320 TB | 2 per group |
| 2 × RAID 6 of 11 + 2 hot spares | 288 TB | 2 per group, plus automatic rebuild start |
Recommendation by system size
- Up to about 6 drives, small drives: RAID 6 if you can afford the capacity; RAID 5 only with small drives and a tested backup of critical clips.
- 8 to 12 drives: RAID 6 (raidz2). This is the most common surveillance configuration.
- 24 drives and above: RAID 60 or multiple raidz2 groups, with a hot spare.
- VMS database, indexes, analytics: separate SSD mirror or RAID 10.
Panaro systems ship with RAID 0/1/10/5 installed and RAID 6/50/60 as an upgrade, so specify RAID 6 or 60 explicitly in the order for surveillance arrays.
Why scrubs matter more on surveillance arrays
Surveillance footage is written once and often never read again unless there is an incident. That means a sector that has quietly gone bad can sit undetected for months, only to surface during a rebuild, when the array most needs every remaining sector to be readable. A scheduled scrub reads every block in the pool and, on ZFS, compares it against its checksum, repairing any mismatch from parity while redundancy is still intact. Run scrubs during quieter hours, typically every few weeks, and review the results. On a busy recording array, confirm the scrub does not starve the recording write load; most systems let you lower scrub priority.
Questions to ask your vendor
- Which RAID level will you configure, and is RAID 6 or 60 included in the quote?
- What usable capacity results, after file-system overhead?
- How long does a rebuild of one drive take under our recording load?
- Is a hot spare included, and does rebuild start automatically?
- Does the system verify data with checksums and run scheduled scrubs?
- How are drive failures alerted: email, SNMP, dashboard?
Closing
For RAID for surveillance, the deciding factors are large drives, long rebuilds and continuous writes. RAID 6 or its ZFS equivalent gives the best balance of capacity and safety; RAID 10 belongs on small, random-I/O volumes; RAID 5 belongs on small arrays only. To size a recording array, start with the CCTV storage calculation, then send your requirement to Panaro's engineers.
Frequently asked questions
Is RAID 5 safe for CCTV storage?
RAID 5 survives only one drive failure. With large hard drives, rebuilds take many hours or days, and a second failure or unreadable sector during that window can lose the array. For surveillance arrays of large drives, RAID 6 or its ZFS equivalent raidz2 is the safer choice. RAID 5 is acceptable only for small arrays.
Does RAID 6 slow down video recording?
Not significantly for typical surveillance. Recording is mostly sequential writing in large chunks, which avoids most of the parity overhead that hurts small random writes. With adequate memory and drive count, RAID 6 sustains continuous recording comfortably. Put random-I/O items such as the VMS database on a separate SSD or RAID 10 volume.
Why not use RAID 10 for surveillance?
RAID 10 gives up half the raw capacity to mirroring, so the same retention needs nearly twice as many drives. Its strengths, fast random I/O and quick rebuilds, matter less for continuous sequential recording. It also loses the array if both drives in one mirror pair fail. It suits databases rather than footage.
What is the best RAID layout for 24 surveillance drives?
A common choice is two RAID 6 groups of 11 or 12 drives (RAID 60, or two raidz2 groups in one ZFS pool), optionally with a hot spare. This tolerates two failures per group and shortens rebuilds compared with one wide 24-drive group, at a modest cost in capacity.