Application and selection of RAID in monitoring storage
Compare the applicability of RAID 0/1/5/6/10 in monitoring scenarios, explain why RAID5 is commonly used in monitoring projects and the risks of reconstruction.
Common level comparison
| Level | Available capacity | Allow bad disks | Write performance | Monitoring suitability |
|---|---|---|---|---|
| RAID 0 | 100% | 0 | Highest | Not recommended, no redundancy |
| RAID 1 | 50% | 1 (mirror) | General | Only small capacity system disk |
| RAID 5 | (N-1)/N | 1 | Better | Commonly used and cost-effective |
| RAID 6 | (N-2)/N | 2 | Slightly lower | Recommended when there are many disks or high requirements |
| RAID 10 | 50% | 1 block per group | High | High performance scenario |
Recommendations for monitoring scenarios
- 4~8 disks: RAID 5. The usable capacity is high and 1 disk failure is allowed.
- 8 disks or more: RAID 6 is recommended. The more disks there are, the higher the probability that another disk will be damaged during reconstruction.
- Key recordings: RAID 6 or RAID 1 + offsite backup available.
- RAID 0 is not recommended: Although the capacity and performance are optimal, if any disk is damaged, all recordings will be lost.
Reconstruction risk (important)
After a disk in the RAID 5 array fails, the system enters a degraded state. At this time:
- All read requests need to pass verification calculations, and performance drops significantly.
- The reconstruction process needs to read the data of all remaining disks (for example, 8×8TB needs to read about 56TB), which usually takes 10 to 30 hours.
- If another disk fails during the rebuilding process, all data will be lost.
- The URE (Unrecoverable Read Error) probability of large-capacity consumer-grade hard drives makes reconstruction failure not a small probability event.
Practical suggestions
- Use surveillance-grade or enterprise-grade hard drives to avoid consumer-grade SMR disks (rebuilding is prone to failure).
- Configure Hot Spare to automatically start rebuilding after a disk failure, shortening the downgrade window.
- Enable SMART monitoring and alarm and proactively replace it before it is completely damaged.
- Make dual-machine backup for important projects or save key channel recordings off-site.
- Rehearse the recovery process regularly to verify that the backup is actually available.
- When replacing a damaged disk, use a hard disk of the same specification or a larger capacity to avoid mixing disks with different speeds.
Related content
What is an IPC network camera? What is the difference from analog cameras
08-29
How to choose surveillance camera resolution: 2 million, 4 million, 8 million pixels
08-27
How to choose camera lens focal length: 2.8 / 4 / 6 / 8 / 12mm field of view comparison
08-25
What is wide dynamic range (WDR)? Why must backlight scenes be turned on?
08-23
Low-light and starlight cameras: how 0.001Lux is achieved
08-21
The principles, effective distance and common misunderstandings of infrared night vision
08-19
The relationship between code stream, code rate and frame rate and setting suggestions
08-17
How to calculate monitoring storage capacity: comparison of resolution, bit rate and storage days
08-15
