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
Linkage integration of video surveillance, access control, and alarm systems: interface methods and implementation points
09-19
Moiré and false color in surveillance images: lens and sensor matching issues
09-18
Progressive transformation from analog to network: reusing coaxial and hybrid networking solutions
09-17
Lens dirt and protective window cleaning: invisible causes of image quality degradation
09-16
Surveillance video as evidence: retrieval process, preservation and legal effect
09-15
Permission classification and desensitization of video data: who can watch and who can export
09-14
Security system level protection: What requirements should the video surveillance part meet?
09-13
Computer room dynamic environment monitoring: temperature and humidity, mains power, water leakage and smoke detector access
09-12
