Dedicated Hard Drive
Posted: Fri Jan 31, 2014 1:18 am
Hello, I was able to set up and configure zoneminder to see both of my IP cameras. Everything was working great until I added a dedicated HDD. I followed this guide http://www.zoneminder.com/wiki/index.ph ... Hard_Drive I edited my /etc/fstab to say the following
/dev/sdb1 /otherdrive ext3 defaults 0 2
/media/Security/zoneminder/images /var/cache/zoneminder/images none defaults,bind 0 2
/media/Security/zoneminder/events /var/cache/zoneminder/events none defaults,bind 0 2
I did not need any of the old files from /usr/share/zoneminder/events and /images so I deleted the directories. I then created a file link from /media/Security/zoneminder/events and /images to reference /var/cache/zoneminder. The disk percentage icon in the top right says 1% which is correct but then I get these errors in the log.
2014-01-30 20:01:32.084711 zma_m2 4390 FAT Can't change directory to 'events': No such file or directory zm_monitor.cpp 546
2014-01-30 20:01:32.076692 zma_m2 4390 ERR Can't make events/2: No such file or directory zm_monitor.cpp 541
2014-01-30 20:01:32.068626 zma_m2 4390 ERR Can't make events: Permission denied zm_monitor.cpp 529
I also changed the owner of /media/Security to www data along with the files inside it. I also gave it all permissions using chmod 777 however this did nothing to solve my dilemma. Any body know what to do from here? I am completely at a loss as to what to do next.
/dev/sdb1 /otherdrive ext3 defaults 0 2
/media/Security/zoneminder/images /var/cache/zoneminder/images none defaults,bind 0 2
/media/Security/zoneminder/events /var/cache/zoneminder/events none defaults,bind 0 2
I did not need any of the old files from /usr/share/zoneminder/events and /images so I deleted the directories. I then created a file link from /media/Security/zoneminder/events and /images to reference /var/cache/zoneminder. The disk percentage icon in the top right says 1% which is correct but then I get these errors in the log.
2014-01-30 20:01:32.084711 zma_m2 4390 FAT Can't change directory to 'events': No such file or directory zm_monitor.cpp 546
2014-01-30 20:01:32.076692 zma_m2 4390 ERR Can't make events/2: No such file or directory zm_monitor.cpp 541
2014-01-30 20:01:32.068626 zma_m2 4390 ERR Can't make events: Permission denied zm_monitor.cpp 529
I also changed the owner of /media/Security to www data along with the files inside it. I also gave it all permissions using chmod 777 however this did nothing to solve my dilemma. Any body know what to do from here? I am completely at a loss as to what to do next.