网络存储
网络存储适合把录像放到 NAS,但 NVR 对持续写入和网络稳定性敏感。挂载应在主机层完成并映射给容器,避免在应用层反复建立临时连接。
核心说明
本页内容按该功能本身整理,不再使用通用占位说明。以下项目均与当前主题直接相关。
协议
SMB/CIFS 和 NFS 都可使用;选择与 NAS/主机权限体系最稳定的方案。
权限
容器必须对录像目录有读写权限。能列出共享但不能写入通常是 UID/GID、挂载参数或 NAS ACL 问题。
断线行为
NAS 短暂掉线可能导致录像错误或 FFmpeg/数据库异常;应配置主机自动重挂载并监控磁盘状态。
性能
多摄像头持续写入时不要只看峰值带宽,还要看延迟、随机元数据操作和 NAS 磁盘持续写性能。
验证与排查
- 修改或执行前记录当前版本/配置,以便回退。
- 完成后同时检查 UI 状态和后端日志,不只看一个成功提示。
- 如果问题只在单个摄像头/插件出现,先做最小范围对比,避免全局改动。
Network Storage
Network storage can hold recordings, but NVR workloads require stable sustained writes. Mount storage on the host and map it into the container.
Core behavior
This page is topic-specific rather than a generic placeholder.
Protocol
SMB/CIFS and NFS are both viable; use the one that best fits permissions and stability.
Permissions
Read-only mounts or ACL/UID/GID mismatches commonly cause recording failures.
Disconnect behavior
NAS outages can cause recording errors; configure remount/recovery and monitor storage health.
Performance
Consider sustained throughput and latency, not just peak bandwidth.
Verification and troubleshooting
- Record the current version/config before changes so rollback is possible.
- Verify both UI state and backend logs after the change.
- If only one camera/plugin is affected, isolate it before making global changes.
Almacenamiento en red
El almacenamiento de red puede guardar grabaciones, pero requiere escritura sostenida estable. Monte en el host y mapéelo al contenedor.
Comportamiento
Esta página contiene contenido específico del tema, no un texto genérico.
Protocolo
SMB/CIFS y NFS son válidos; elija el más estable.
Permisos
ACL, UID/GID o montaje solo lectura suelen causar fallos.
Desconexión
Las caídas del NAS pueden romper grabación; configure recuperación y monitorización.
Rendimiento
Considere rendimiento sostenido y latencia, no solo pico.
Verificación y diagnóstico
- Registre versión/configuración antes de cambiar para poder revertir.
- Compruebe UI y logs del backend después.
- Si afecta a una sola cámara/plugin, aíslelo antes de cambios globales.
