Hi All. again.
I am trying to change the storage directory for events.
I have a seperate drive I want to use. Path is /D3/events.
I have tried just changing it in the options area of zonemind but that did not work.
I read somewhere to make a symlink.
So I created a symlink from the default events directory to the new one but that did not work either.
this is the error I get.
Can't open /usr/share/zoneminder//D3/events/1/12/11/15/19/23/07/001-capture.jpg: No such file or directory
What is the correct way to change the events storage directory to a different hard drive?
Thanks to all.
Changing the events storage directory
Changing the events storage directory
Last edited by iitywygms on Fri Nov 16, 2012 4:48 am, edited 1 time in total.
Re: Changing the events storage directory
First result in Google...
http://www.zoneminder.com/wiki/index.ph ... Hard_Drive
http://www.zoneminder.com/wiki/index.ph ... Hard_Drive
Re: Changing the events storage directory
Thank you. I read that page. And tried the link method
ln -s /D3/events /usr/share/zoneminder/events
But when I do, I get these errors
socket_sendto( /tmp/zm/zms-822640s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php
and
Can't open /usr/share/zoneminder//D3/events/1/12/11/15/20/29/21/001-capture.jpg: No such file or directory
The directory /D3/events does exist, and it has full read write to everyone.
I also updated the options path to /D3/events
Edit.
I wanted to add I also tried the fstab method. I still get the same errors.
Note that if I change to the /D3/events directory in options, the disk space goes from 75% to 1%. So I assume zoneminder is updating the path correctly, but I still get the errors.
Second update.
After rebooting, the errors have gone away, but zoneminder still shows the disk at 75% full. although I am now seeing files being populated in D3/events.
So, I guess it is working? Just zoneminder does not update disk space correctly?
ln -s /D3/events /usr/share/zoneminder/events
But when I do, I get these errors
socket_sendto( /tmp/zm/zms-822640s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php
and
Can't open /usr/share/zoneminder//D3/events/1/12/11/15/20/29/21/001-capture.jpg: No such file or directory
The directory /D3/events does exist, and it has full read write to everyone.
I also updated the options path to /D3/events
Edit.
I wanted to add I also tried the fstab method. I still get the same errors.
Note that if I change to the /D3/events directory in options, the disk space goes from 75% to 1%. So I assume zoneminder is updating the path correctly, but I still get the errors.
Second update.
After rebooting, the errors have gone away, but zoneminder still shows the disk at 75% full. although I am now seeing files being populated in D3/events.
So, I guess it is working? Just zoneminder does not update disk space correctly?
Re: Changing the events storage directory
Third reboot and zoneminder updated correctly.
Now making the camera move is all that is left.
Now making the camera move is all that is left.