Hands-on tutorial

Tutorials · Servers & Storage

Use a Storage Server as a CCTV Archive (NFS or iSCSI)

Extend recorders or a video management system with a large storage server: share the RAID array over NFS or iSCSI on a dedicated VLAN, connect the recorders and check retention.

Intermediate30 min7 steps

Before you start

  • A storage server with a configured RAID array and file system
  • Recorders or VMS that support network storage (NFS, SMB or iSCSI)
  • A 10 GbE switch port and a storage VLAN

Step by step

  1. Create a storage VLAN

    Put the storage server and recorders' storage interfaces on their own VLAN so video writes do not compete with user traffic.

  2. Choose NFS or iSCSI

    NFS shares a folder and is simple to manage; iSCSI gives each recorder its own block device. Use what your recorders or VMS support.

  3. NFS: export a folder per recorder

    Create one folder per recorder, export it only to that recorder's address, and set the permissions it needs.

  4. iSCSI: create targets and LUNs

    Create one LUN per recorder, restrict each target to the recorder's initiator name and use CHAP authentication.

  5. Connect the recorders

    Add the network storage in each recorder or the VMS, format it from the recorder if asked, and set it as a recording or archive disk.

  6. Check write rate and retention

    After a day, compare the space used with your plan (Mbps × 10.8 GB per camera per day) and confirm the recorder overwrites the oldest footage when full.

  7. Monitor

    Alert on RAID degradation, free space below 15%, and recorder storage errors.

Pro tips

  • Do not share one NFS folder or LUN between several recorders.
  • Keep the storage server on a UPS.
  • Document which recorder uses which share or LUN.

Last reviewed: