Netzwork Hard Disk / NAS
Posted: Sun Oct 18, 2015 8:17 pm
Hey guys,
I installed Zoneminder 1.26 on my raspberry pi 2. I think it's working well, but I got problem with recording to my NAS.
I've got a Fritzbox at which my external harddisk ist connected to. I mounted it to my rasp via fstab:
//fritz.nas/fritz.nas/WDCWD50-01 /mnt/networkhd cifs credentials=/home/pi/.smbcredentials,users,auto,uid=www-data,gid=root 0 0
or:
//fritz.nas/fritz.nas/WDCWD50-01 /mnt/networkhd cifs credentials=/home/pi/.smbcredentials,users,auto,uid=1000,gid=1000 0 0
/mnt/networkhd/zoneminder/images /var/cache/zoneminder/images none defaults,bind 0 2
/mnt/networkhd/zoneminder/events /var/cache/zoneminder/events none defaults,bind 0 2
duo to the tutorial from the wiki.
I also set some permissions chown and chmod, one of them didnt work because it is an NTFS Drive I think.
While recording, I get many events, but they all end with:
secs frame score
0.00 null/null 0/0
which means, that the motion detection is working. The log is red, but when I open it, it does not provide any information in it (maybe because it should also be written on the nas?).
What can I do guys?
I installed Zoneminder 1.26 on my raspberry pi 2. I think it's working well, but I got problem with recording to my NAS.
I've got a Fritzbox at which my external harddisk ist connected to. I mounted it to my rasp via fstab:
//fritz.nas/fritz.nas/WDCWD50-01 /mnt/networkhd cifs credentials=/home/pi/.smbcredentials,users,auto,uid=www-data,gid=root 0 0
or:
//fritz.nas/fritz.nas/WDCWD50-01 /mnt/networkhd cifs credentials=/home/pi/.smbcredentials,users,auto,uid=1000,gid=1000 0 0
/mnt/networkhd/zoneminder/images /var/cache/zoneminder/images none defaults,bind 0 2
/mnt/networkhd/zoneminder/events /var/cache/zoneminder/events none defaults,bind 0 2
duo to the tutorial from the wiki.
I also set some permissions chown and chmod, one of them didnt work because it is an NTFS Drive I think.
While recording, I get many events, but they all end with:
secs frame score
0.00 null/null 0/0
which means, that the motion detection is working. The log is red, but when I open it, it does not provide any information in it (maybe because it should also be written on the nas?).
What can I do guys?