Solving some NFS issues on Hikvision cameras

Thanks so much for your quick response. Here's additional screenshots of my set up. In other IP camera manufactures, you can easily set up FTP to be the storage container and it would be set to send video's on motion triggered events. If a person is detected in the camera and moving for 30min, I would have multiple video files being stored in sequence until the motion is no longer detected by the camera. I want to be able to use the NAS to drop those files into since I can't use FTP.

I'm still not clear how to set this up properly, of if I need a mini-NVR to a NAS to complete this task?
 

Attachments

  • Screen Shot 2018-02-19 at 2.50.50 PM.png
    Screen Shot 2018-02-19 at 2.50.50 PM.png
    365.8 KB · Views: 56
  • Screen Shot 2018-02-19 at 2.51.39 PM.png
    Screen Shot 2018-02-19 at 2.51.39 PM.png
    65.9 KB · Views: 49
  • Screen Shot 2018-02-19 at 2.52.03 PM.png
    Screen Shot 2018-02-19 at 2.52.03 PM.png
    70.9 KB · Views: 51
Linkage screenshot is attached. When I go to the Playback screen it appears that the motion alarm video is all recorded as I can go back in time to see the motion videos. See attached screenshots. How do I get it to send those videos to the NAS?
 

Attachments

  • Screen Shot 2018-02-19 at 3.11.04 PM.png
    Screen Shot 2018-02-19 at 3.11.04 PM.png
    68.8 KB · Views: 42
  • Screen Shot 2018-02-19 at 3.13.31 PM.png
    Screen Shot 2018-02-19 at 3.13.31 PM.png
    1.1 MB · Views: 40
Now I'm not sure I understand the question.
The motion videos are being stored on the NAS already.
Do you want to extract / export video clips to store them separately?
 
I don't see them being recorded on the NAS while testing. The motion configuration is set up and the NAS appears to be set up. I was able to get it to store randomly for a short time because I can see the mp4 files updated time stamps, but I can't get it to consistently store the recorded files to the NAS.
 
The proof of the video being recorded would be the ability to play it back via the Playback menu, or even to download the files via the download button, or to see the list of files via the download button.
I'm assuming you don't have an SD card installed.
 
Why would you do it like so? Use the QNAP Surveillance Station! It records perfectly fine 4 of my cameras when they issue an alarm. I do not see why would I save directly from 4 or less cameras to QNAP if it comes with decent program doing the job for up to 4 cameras for free and I can watch and search all my cameras on two TVs via HDMI?

I do not know if anyhting changes with different fw versions of the cameras, but I have described in detail how things work perfectly well without formatting disks in the post Solving some NFS issues on Hikvision cameras. For me, nothing changed in last 2 years.

I have used that same method for saving to my current NAS which is QNAP TS-253A as I described for Asustor NAS.. On QNAP - Made a folder: /Kamere/Balkon (all my cameras are recorded in the folder /Kamere, each has its own subfolder and user), create the user Balkon with 30 gb quota, create the network share /23Balkon (pointing it to /Kamere/Balkon) and give rw rights to the user Balkon (and others as needed). Then on the camera (e.g. Web interface), point it to NAS IP address, folder /23Balkon (entering / and not \), SMB/CIFS, test, save, change to the previous tab, select your new disk (you may see entire disk capacty now but should see 30gb and Unformatted), format, you will now see 30 gb, and save. And that is it. If not, delete contents of /23Balkon and repeat the process.

I use this method only for cameras over my QNAP 4 free licence limit. I have been test saving to folders at USB3 disk connected to my giga router (but that should never be done in normal usage as it is quite likely this data will get lost).
you are right, i could it and i have tested it, that is fine application,
but i have planed for the future to buy 3 more cams

according your discription, i have try it with differend size of space, and i could every time see and connect to the nas, but i can not Format it, i get "error device"

how pointed from alastairstevenson, may be it depends on Firmware update, Need to check it
 
has anyone gotten any Windows 10* based NFS share simulation to work with their hikvision cube cameras?
i really don't want to invest hundreds of dollars in a Linux (share size limiting) NAS until i see it working first.

so far I've tried Allegro NFS 6.3.3, but i don't know enough about Linux and NFS to be sure i configured it right.
because of the long timeout during "Test", I'm sure the cube sees my pc's ip and path, and i know to make the
NFS read/write for "everyone" (no credentials needed) but the "Test" on the cube continues to "Testing Failed".

sadly I already use a WD MyCloud but the entire WD line lacks the ability to define a <500gb share volume, so
I'll have to sell the WD (my DTV DVR) and get a Synology or QNAP type models known to work with hikvision,
but I really don't want to go to all that costly reconfiguration trouble before i see it working - first hand.

it would be wonderful if someone hikvision/nfs/nas savvy could try adding an Allegro NFS share to their PC
then see if they can get a cam to write to it and post what "server" perimeters you used to make it all work.

*I'm using Pro (don't need enterprise anymore for NFS) with NFS enabled, I have a separate 500gb HDD installed.
my cube cam has the latest 5.4.5 firmware. i tested if my (private network but discoverable) pc would host
R+W anonymous users to a folder share and it worked on both my win10 notebook pc and my android 7 phone.
haneWIN NFS Server is another simulator i found, but can't make heads or tails out of implementing in win 10.

fXign41.jpg


2e64s5I.jpg
 
Last edited:
has anyone gotten any Windows 10* based NFS share simulation to work with their hikvision cube cameras?
Have you tried using a native Windows CIFS/SMB share?
because of the long timeout during "Test", I'm sure the cube sees my pc's ip and path,
A long timeout suggests it didn't.
In the NFS config - did you define the allowed host by the needed IP address or a hostname ? (looks like the latter)
 
thanks alastairs,

but if you manage to get it working (a win10 nfs server so your hikvision can nas to it) then post your settings.
going back and forth with you guessing what i may have done or not would be a colossal waste of both our time.
 
Last edited:
going back and forth with you guessing what i may have done or not would be a colossal waste of both our time.
Methinks you exaggerate somewhat. Nothing colossal about it.

OK, so I grabbed a spare DS-2CD2332-i with the 5.4.5 firmware and spun up a Windows 7 VM. I don't have Windows 10 - managed to avoid it so far, doing well.

First a Windows SMB/CIFS share, straightforward, works OK.
SampleShareSMB_1.jpg SampleShareSMB_2.jpg

Then I downloaded and installed and configured the Allegro NFS program.
SampleNFS_config.jpg
Then I configured the NFS destination and 'formatted' it.
SampleShareNFS_2.jpg

And checked that the recordings could be played back
.SampleShareNFS_1.jpg

My guess as to what you are missing?
Unlike when you enable a Windows share, I'd guess that Allegro isn't smart enough to configure the Windows firewall inbound rules so as to allow external devices in to the NFS service. The long timeout is a clue there.
So maybe you didn't check / change the firewall settings.
 
  • Like
Reactions: consort
alastairs, thanks for taking the time to try it. disabling the firewall completely was done early in the game.
could you please post the HDD Management screen showing the share capacity and format availability? thank you.

at least now i (and others) see this working, and have a free way to nfs test their cam before investing in a nas.

alastairs, would you mind checking the following tab defaults before you uninstall Allegro;
User lists:everyone, Hosts lists:your pc lan IPv4 (no / subnet or : port), Global: auto, Logging&Debug disabled.
I'm just wondering if maybe there was some extra setting you made that I'm not aware of.

oh, some things i'm curious about - your share is on the C: drive yet hikvision would have had to format it for the cam to write,
so what exactly is on your local c:\SampleNFS directory now? some sort of img file? i assume it didn't reformat your win7 boot.
also, does the used/capacity shown on the hikvision HDD Management page nearly match your total C: partition on your win7?
if it's some widely divergent number, then why would you suppose that is?

now that you've proven it works, i'll have to try other things... like doing this wired and disabling my router firewalls too,
just long enough to reverse engineer where the failure lay - i just have to time it when nobody is home using the internet.
 
Last edited:
you are right, i could it and i have tested it, that is fine application,
but i have planed for the future to buy 3 more cams

This model allows for 4 free licences and I have it recording 4 cameras fullHD with no problem.

according your discription, i have try it with differend size of space, and i could every time see and connect to the nas, but i can not Format it, i get "error device"

I described entire process for this particular NAS, did you tried following that? If it wrks for me, it must work for you. THese things are not liekly dependant on the firmware versions as it is simply file access. I did not got NTF to work.
 
could you please post the HDD Management screen showing the share capacity and format availability?
No can do, sorry, I reverted the Win7 VM to the snapshot I took before messing with it.
But it showed normal status, showed the entire volume size, with almost all the space available.

User lists:everyone, Hosts lists:your pc lan IPv4 (no / subnet or : port), Global: auto, Logging&Debug disabled.
I'm just wondering if maybe there was some extra setting you made that I'm not aware of.
Yes, that's the way it was.

your share is on the C: drive yet hikvision would have had to format it for the cam to write,
so what exactly is on your local c:\SampleNFS directory now?
The Hikvision 'format' operation simply writes to the share a set of placeholder files and folders that will hold the recorded video, images, indexes and other metadata used to manage what's stored.
i assume it didn't reformat your win7 boot.
It's not that kid of format - it just populates the share with files. 'Format' is a fairly generic term in computing.
does the used/capacity shown on the hikvision HDD Management page nearly match your total C: partition on your win7?
The capacity was a match to the share size - the used value was low as there were only a few recordings made in the experiment.
disabling my router firewalls too,
Don't do that - it's main purpose is to block inbound from the internet, not relevant to this topic.

Suggestion:
I suspect the PC might be blocking inbound access to the NFS service.
From another PC on the same LAN, see if you can access the NFS service as follows:
telnet <PC_IP_address> 2049
If 'connected' it's OK.
If it times out, it's not, so check the firewall inbound rules, any anti-virus network access protection etc.
 
  • Like
Reactions: consort
i'm not sure exactly how, but after uninstalling and reinstalling everything a few times, and following a few anonymous user faqs,
i finally got the cube to see the Allegro NFS that's running on my Win10 pc, however now that it sees it and recognizes it's capacity
it now won't format/write to it even though everyone/anonymous all have read/write permissions :banghead:

0YMauIa.jpg
 
Last edited:
Hi

Here is a SMB/CIFS solution it works for me on my PC win10.

if you was wondering to record when basic/smart events occurs and if you PC is on window you have to:
  • (windows)create a new partition (less than 250Gb), format it
  • (windows) create a directory and share it
  • (camera web interface) in Storage, storage management, Net HDD create the HDDno :
Server Adress = IP of the machine
File Path = \name of the share
Type = NAS
Mounting type = SMB/CIFS
end user name and passwd.

Save then test with the test button. if you got the "testing succeeded" message then its OK
 
Hi

Here is a SMB/CIFS solution it works for me on my PC win10.

Can you please tell me what camera model and firmware version you are using?

I've tried getting SMB share working on Windows10 without any success with a 2CD2385 and 2CD2335 both on firmware 5.5.51 and 5.5.0 respectively.

I had them both working with Windows 7 Pro but needed to upgraded to Windows 10 for another reason.

Since going to Windows 10 I can't get NetHDD working from the camera interface. I have turned off the firewall, allowed public sharing and disabled password access all just to try and make it work again. But nothing.

When I try to "Test" the settings I always get the following error "Mounting to NAS server failed. Invalid directory or incorrect user name/password" which pretty much means it could be anything!

I know all the parameters are correct therefore I can only imagine there is something in Windows 10 that stops the shares being seen by the cameras.