I am new to Zoneminder. Before I used Synology Surveillance Station, but with 3+ Foscams the NAS is being brought to it's limits.
So I created a Ubunto vm and now I want to store my ZM recordings on my Synology NAS (ds212+).
Mounted a CIFS-Share to my Ubuntu-Zoneminder-VM with the following fstab-entry:
Code: Select all
//192.168.2.101/sec/zm /media/zm cifs sec=ntlmv2,credentials=/home/user/.smbcredentials,iocharset=utf8,noperm,auto,dev,rw,exec,suid,async,_netdev,dir_mode=0777,file_mode=0777,uid=33,gid=33 0 0
ll /media/zm shows:
Code: Select all
drwxrwxrwx 5 www-data www-data 0 Mar 22 15:35 ./
drwxr-xr-x 4 root root 4096 Mar 22 15:26 ../
drwxrwxrwx 5 www-data www-data 0 Mar 23 13:34 events/
drwxrwxrwx 2 www-data www-data 0 Mar 24 09:42 images/
drwxrwxrwx 2 www-data www-data 0 Mar 22 15:35 temp/
Code: Select all
/media/zm/images /var/cache/zoneminder/images none defaults,bind 0 2
/media/zm/events /var/cache/zoneminder/events none defaults,bind 0 2
Code: Select all
chown www-data:www-data /media/zm/events
Also, this might help:
Code: Select all
user@[system]:~$ ps -ef | grep zoneminder
www-data 1699 1534 3 13:26 ? 00:00:21 /usr/lib/zoneminder/cgi-bin/nph-zms
www-data 1712 1514 2 13:26 ? 00:00:16 /usr/lib/zoneminder/cgi-bin/nph-zms
www-data 1713 1532 2 13:26 ? 00:00:16 /usr/lib/zoneminder/cgi-bin/nph-zms
user 2120 1696 0 13:37 pts/0 00:00:00 grep --color=auto zoneminder
Thanks!