Hikvision NVR backup to NAS?

Alando

n3wb
Dec 12, 2018
8
2
Trinidad and Tobagi
Hi, I'm trying to set up my Hikvision NVR to backup/record to my FreeNAS system. When I create a volume, then create a 100GB datasets, I then create a NFS Share with the IP address of the NVR as the only authorized address. However, when I add it in the Hikvision web interface, it says "0.00GB Capacity" and "0.00GB Free Space" and "Status: Offline"

Any help will be appreciated
 

Attachments

  • 15447161274317934353697922616941.jpg
    15447161274317934353697922616941.jpg
    8.1 MB · Views: 65
Did you use the Search dialogue box in the Net HDD page to find the offered shares, and select the one you wanted?
View attachment 36308

Yes, I did use the search tool to add it, it sees the path as "/mnt/Volume1/NVR" (which is the shared path I created using FreeNAS).. All Read, Write, Execute permissions are set. Attached below are my settings.
 

Attachments

  • Capture.PNG
    Capture.PNG
    26.5 KB · Views: 71
  • Capture2.PNG
    Capture2.PNG
    14.9 KB · Views: 61
  • Untitled.png
    Untitled.png
    29.5 KB · Views: 60
  • Capture3.PNG
    Capture3.PNG
    29.6 KB · Views: 63
Last edited:
I just spun up an old 9.10.2.U2 FreeNAS and the NFS shares work OK on a 2532 camera with these very open permissions -
What are the permissions of the share set to?
upload_2018-12-13_17-35-16.png
 
Okay, so it turns out that it is a completely different issue.. I was monitoring my FreeNAS system while creating the share and saw it got error "nfsd: can't register svc name". Can anyone assist with this?
 
I was monitoring my FreeNAS system while creating the share and saw it got error "nfsd: can't register svc name". Can anyone assist with this?
A Google search suggests this is an informational message as opposed to an error.
"No Kerberos tickets are enabled" or similar.
 
A Google search suggests this is an informational message as opposed to an error.
"No Kerberos tickets are enabled" or similar.

1. Create a volume

2. Change all permissions for the volume to read/write/execute and set Mapall User and Mapall Group to "nobody" and set the permissions recursively.

3. Create a dataset. And do step 2, apparently even though I set the permissions recursively, the damn dataset didn't get the permissions applied to it

4. Create NFS share and tick "All Directories" and then edit the NFS service; check "Serve UDP NFS Clients" and "Allow non-root access. (I didn't do this at first, thank you @alastairstevenson)

4. Set the Mapall User and Mapall Group to "nobody" for the NFS share and tick "All Directories"

Note:
Step 3 is the official solution to my problem, all other settings didn't work until step 3 was done.

Thanks alot for all the help!!