Problem with NAS on Hikvision DS-2CD2412F-I

masenov

n3wb
Joined
Jun 24, 2015
Messages
22
Reaction score
0
Hi guys,

recently bought Hikvision DS-2CD2412F-I Firmware Version V5.3.0 build 150423 and want do add network share.
I try whit two shares\SMB, one from linux and one from windows.
1 -linux share:
ip add: 192.168.0.2
path: \cams
user: jonh
pass: jonh

2- windows share
ip add: 192.168.0.3
path: \cams
user: jonh
pass: jonh

When I run test button, everything goes OK "successful"
For both of them I have following state in storage managment:
HDD Device List Status Uninitialized

I check both shares and they have proper permissions and everything look OK
I try to connect via SSH to my cam and have the following error

CIFS: Mount option noac not supported. Instead set /proc/fs/cifs/LookupCacheEnabled to 0

can someone have idea/help, please.


Regards,
Miro
 
Last edited by a moderator:

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,989
Reaction score
6,813
Location
Scotland
I'm not sure about the 5.3.0 firmware - but certainly on 5.2.0 and some lower, the 2-Series cameras will not save video to a NAS share (NFS or SMB/CIFS) if the volume size (not free space) is larger than about 200GB, and gives the symptoms you have described.
If your NAS has flexible volume provisioning you can create a volume of the required size, or (and this is NAS-dependant, works with QNAP, what type is yours?), per-user quotas can also be used, against a large volume.
There are quite a few threads on this forum on this topic, with some patches / fixes too.
 

masenov

n3wb
Joined
Jun 24, 2015
Messages
22
Reaction score
0
I forgot to mention that linux share is 2 TB and win in 98 GB.
Thanks for replay!
 

masenov

n3wb
Joined
Jun 24, 2015
Messages
22
Reaction score
0
After make win share format status disk is normal but have no luck with linux
 

masenov

n3wb
Joined
Jun 24, 2015
Messages
22
Reaction score
0
I made new part. in lunux 30 GB with dedicate user and etc.
And again Uninitialized .
I try to format the disk and goes well, but again status is Uninitialized ....

@
alastairstevenson - appreciate your help !
 
Last edited by a moderator:

bdani

n3wb
Joined
Jun 25, 2015
Messages
13
Reaction score
0
I have a same problem with ds-2cd2032-i.

SMB share: 500GB (openmediavault)
start initialize and it success but about 30 sec again uninitialized...

edit:
cam firmware: V5.3.0 build 150513
 

masenov

n3wb
Joined
Jun 24, 2015
Messages
22
Reaction score
0
Yes, there is a many threads and I reed most of them, but not found a solution ....
 

bdani

n3wb
Joined
Jun 25, 2015
Messages
13
Reaction score
0
I think I found the problem:

I connect to camera with ssh and in dmesg I saw an error:
CIFS: Mount option noac not supported. Instead set /proc/fs/cifs/LookupCacheEnabled to 0
Here comes the another problem... how can I edit this file? I've try nano, vi, echo but all "not supported"...


Any ideas?
 

masenov

n3wb
Joined
Jun 24, 2015
Messages
22
Reaction score
0
I already wrote about it:

"I try to connect via SSH to my cam and have the following error

CIFS: Mount option noac not supported. Instead set /proc/fs/cifs/LookupCacheEnabled to 0 "

@bdani And I don`t think that there is a way to change this file...

BUT IF someone knows SHARE, Please :)
 

bdani

n3wb
Joined
Jun 25, 2015
Messages
13
Reaction score
0

masenov

n3wb
Joined
Jun 24, 2015
Messages
22
Reaction score
0
I don`t think the problem is in yours NAS.
I try the same, just for testing purposes Virtualbox + http://sourceforge.net/projects/openmediavault/files/2.0.13/openmediavault_2.0.13_amd64.iso/download
and have no luck, AGAIN... surprise...
But again, have NO PROBLEM with windows share.... work like a charm... but I'm not a fan of MS...
......Chinese friends .... come on .... HELP US :)
 
Last edited by a moderator:

bdani

n3wb
Joined
Jun 25, 2015
Messages
13
Reaction score
0
I think one of my plugins the problem... (openvpn, virtualbox, minidlna, owncloud) because that's the difference between the physical and virtual...

afternoon reinstall my NAS step by step but first set up SMB and the camera's share...
I has no better idea...

and of course
......Chinese friends .... come on .... HELP US
:D
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,989
Reaction score
6,813
Location
Scotland
Does your NAS do NFS? That may work - much simpler. But still the same restriction on maximum volume size.
Sample results of adding NFS and then CIFS via web GUI, 2132 with 5.2.5 firmware

login as: root
root@192.168.1.64's password:

BusyBox v1.19.3 (2014-07-11 11:25:54 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
ramfs on /home type ramfs (rw,relatime)
udev on /dev type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/ubi1_0 on /dav type ubifs (rw,relatime)
/dev/ubi3_0 on /davinci type ubifs (rw,relatime)
/dev/ubi4_0 on /config type ubifs (rw,relatime)
192.168.1.201:/cctv1 on /mnt/nfs00 type nfs (rw,sync,relatime,vers=3,rsize=4096,wsize=4096,namlen=255,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,soft,noac,nolock,proto=tcp,port=65535,timeo=70,retrans=3,sec=sys,local_lock=all,addr=192.168.1.201)
#
#
#
#
# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
ramfs on /home type ramfs (rw,relatime)
udev on /dev type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/ubi1_0 on /dav type ubifs (rw,relatime)
/dev/ubi3_0 on /davinci type ubifs (rw,relatime)
/dev/ubi4_0 on /config type ubifs (rw,relatime)
//192.168.1.201/cctv1 on /mnt/nfs00 type cifs (rw,mand,relatime,unc=\192.168.1.201\cctv1,username=IPcam,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.201,file_mode=0755,dir_mode=0755,nobrl,rsize=4096,wsize=4096,actimeo=1)
#
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,989
Reaction score
6,813
Location
Scotland
It sounds like you are stuck with the 'psh' Protect Shell and not the full command shell.
But take a look at using NFS - that may work OK.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,989
Reaction score
6,813
Location
Scotland
OK, there isn't much documentation for OpenMediaVault - but there is a suggestion, and some screenshots, that the NFS service is available.
[h=1]Services[/h]
  • SSH
  • FTP
  • TFTP
  • NFS (v3/v4)
  • SMB/CIFS
  • RSync
 

bdani

n3wb
Joined
Jun 25, 2015
Messages
13
Reaction score
0
It's working :)

I don't know how and why but working...

Reinstall my NAS, create "hikvision" user and a samba share than
set up my cam and it started recording...


After that i set up my plugins and recording still working...
I have no idea why working now and why not worked before reinstall...
 
Top