Jump to content

loafbread

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by loafbread

  1. loafbread

    Hikvision NAS setup

    Learned something else. The Hikvision camera apparently needs a minimum NFS volume size. I have seen another post that says greater than 10GB. I know it won't work with an 8GB thumb drive but it does work with a 16GB drive. The symptom is that NFS passes the connection test but the "format" function does not work. Format quickly returns "complete" but still says uninitialized. If you end up with those symptoms, try a larger NFS volume. So to add some more search words to this... smaller smallest minimum too small bigger.
  2. loafbread

    Hikvision NAS setup

    madrian, Please post your /etc/exports. I am trying to get HIKVISON DS-2CD2032-I firmware V5.2.0 build 140721 with a Raspberry Pi. The Pi shows an "authenticated mount request" like everything is fine but the camera NFS test shows "Mounting to NAS server failed. No permission." Any ideas why it is not working. My /etc/exports is: /mnt/camStorage *(rw,no_subtree_check) Thanks UPDATE: I got it working. The problem seems to be that the hikvision camera connects to the NFS server as root with UID=0. I was able to make it work by adding no_root_squash. That is not very secure so I created a hikvision user and hikvision group on the NFS server (Raspberry Pi). Then I changed the owner of all the exported files and directories to be owned by hikvision:hikvision. I configured /etc/exports with this: /mnt/sda/camStorage/webcam20 192.168.133.20(rw,no_subtree_check,all_squash,anonuid=1010,anongid=1011) The anonuid and anongid are the actual UID and GID from my /etc/passwd and /etc/group files. Now it all works great.
×