Affected Roles: System Owner • System Administrator
Related: Nx Server
Sometimes people like to add USB storage for the main or backup recordings. By default, this is disabled since it has significant downsides, namely the read and write speeds of such storage are poor compared to an HDD. But if these downsides are taken into consideration, it might be useful to use USB storage drives within Nx Witness.
Note 1: Nx Witness will not allow recording to drives that are less than 10% the size of the largest drive in the system. This is done to ensure a correct write-ratio calculation and to improve overall system stability. For more information, please check this support article.
Note 2: In many cases, especially in larger systems, the throughput of many USB storage devices aren't sufficient for handling the data of a significant number of cameras and notifications like "Not enough HDD/SSD speed for recording to %drive_name%" are likely to occur.
How to enable the USB storage option?
- Press Win+R
regeditand press enter
- Go to
HKEY_LOCAL_MACHINE\SOFTWARE\Network Optix\Network Optix Media Server
- Right-click and select New and String Value
- Give it the name: allowRemovableStorage
- Give it the value data of 1
- Close Regedit
- Restart the server application via the task manager, tab Services and look for Network Optix Media Server and right-click and select Restart
- Open the terminal (Ctrl+Alt+T) on the server or, if you are on another device, log in via SSH with PuTTY or via the terminal.
- Go to the following directory:
- Edit the file mediaserver.conf
#sudo nano mediaserver.conf
- Add a new line
allowRemovableStorages = 1
- Save the file (Ctrl+O, click Enter)
- Exit the file (Ctrl+X)
- Restart the media server application
# sudo service networkoptix-mediaserver restart
Now when you open the Nx Witness Desktop client and go to Server Settings, you should be able to see the USB Storage under the tab Storage Management and you can use and treat it like any other storage option.