Running ZM 1.24.4 on Ubuntu 10.04 server with a single disk drive. Working great but worried about running out of disk space. Need to add a new hard drive for the images. Checked out the WIKI link http://www.zoneminder.com/wiki/index.ph ... Hard_Drive
Step 4. Locate Zoneminder's "events" and "images" directories. In Debian, these are usually in /usr/share/zoneminder
Unable to find these directories. Tried using locate command from root with no success.
Any ides or help would be appreciated
(Solved) Dedicated Hard Drive
(Solved) Dedicated Hard Drive
Last edited by camsystem on Wed Feb 15, 2012 3:25 pm, edited 1 time in total.
-
- Posts: 106
- Joined: Wed Dec 15, 2010 11:20 am
- Location: Isle Of Wight, UK
Re: Dedicated Hard Drive
One of my old posts might be of some help to you.
Here is the link: Recording outside of working directory
Best Regards.
Here is the link: Recording outside of working directory
Best Regards.
Re: Dedicated Hard Drive
your previous post replies seem to give same file locations as wiki
Are you running desktop or server?
My ubuntu server does not have the /usr/share/zoneminder directorymv /usr/share/zoneminder/events /usr/share/zoneminder/eventsbackup
Are you running desktop or server?
-
- Posts: 106
- Joined: Wed Dec 15, 2010 11:20 am
- Location: Isle Of Wight, UK
Re: Dedicated Hard Drive
I am running x64 server.
If you read my 1st post in the link above, you would see that my servers folders are "/var/cache/zoneminder/events" not "/usr/share/zoneminder/events".
Best Regards.
If you read my 1st post in the link above, you would see that my servers folders are "/var/cache/zoneminder/events" not "/usr/share/zoneminder/events".
Best Regards.
Re: Dedicated Hard Drive
Unfortunately, I do not have a /var/cache/zoneminder/ directory either. Here is my what I have in /var/cache/.
ronnie@fred:/var/cache$ ls -a
. apache2 apt-show-versions fontconfig ldconfig munin
.. apt debconf git man pppconfig
ronnie@fred:/var/cache$
Re: Dedicated Hard Drive
How did you determine where your files were being stored?
Re: Dedicated Hard Drive
I run on Ubuntu LTS 10.04. In /etc/fstab I have
LABEL=HOST_Data /HOST/HOST_Data ext4 errors=remount-ro 0 1
/HOST/HOST_Data/events /usr/share/zoneminder/events none defaults,bind 0 0
/HOST/HOST_Data/images /usr/share/zoneminder/images none defaults,bind 0 0
/HOST/HOST_Data/temp /usr/share/zoneminder/temp none defaults,bind 0 0
Note I apply strict naming conventions for my partitions which makes it easier to maintain /etc/fstab when you run many machines. HOST_Data is the label for the partition I want to contain my events/images and temp folders. HOST is the machines hostname and I have a folder in the root partition called the HOST which has the same subfolders. I am not sure if this is the best way to do it but it works.
LABEL=HOST_Data /HOST/HOST_Data ext4 errors=remount-ro 0 1
/HOST/HOST_Data/events /usr/share/zoneminder/events none defaults,bind 0 0
/HOST/HOST_Data/images /usr/share/zoneminder/images none defaults,bind 0 0
/HOST/HOST_Data/temp /usr/share/zoneminder/temp none defaults,bind 0 0
Note I apply strict naming conventions for my partitions which makes it easier to maintain /etc/fstab when you run many machines. HOST_Data is the label for the partition I want to contain my events/images and temp folders. HOST is the machines hostname and I have a folder in the root partition called the HOST which has the same subfolders. I am not sure if this is the best way to do it but it works.
(Solved) Re: Dedicated Hard Drive
Found the events and images in this folder. /var/www/zm/
edited fstab as follows:
edited fstab as follows:
Code: Select all
/dev/sdb1 /media/newdrive ext4 defaults 0 2
/media/newdrive/zm/images /var/www/zm/images none defaults,bind 0 2
/media/newdrive/zm/events /var/www/zm/events none defaults,bind 0 2