Expand a Server's Storage Capacity with a NAS
Nx Witness supports storing video locally or via NAS (Network Attached Storage) arrays. An easy way to continually expand a Server's storage capacity is to add NAS devices as storage locations
To Mount a NAS in Ubuntu via NFS.
- Make sure the Unbuntu NFS Server is installed on the Server you are attempting to add a NAS to. If not installed use Terminal command sudo apt-get install nfs-common to install.
- For this setup guide we'll assume you have configured a shared folder via samba at your NAS in the /shared location.
- In your root folder create a destination folder using the cd / and sudo mkdir some_folder_name commands while in Terminal.
- Connect the shared NAS folder to the destination folder using Terminal command sudo mount <NAS_address>:/shared /some_folder_name replacing <NAS_address> in the command line above with your NAS's IP address or url.
- Make sure the NAS reconnects if your Ubuntu machine restarts with Terminal command sudo nano /etc/fstab
- Add a line to the launched file: <NAS_adress>:/shared /some_shared_folder nfs rsize=8192, wsize=8192, timeo=14, intr
- Save the file and execute Terminal command sudo mount -a
- If NAS connection has been successfully configured your NAS device can be seen in the list of devices shown with Terminal command df -h