Page 1 of 1

change directory and disc rec

Posted: Sun Apr 13, 2008 2:54 am
by Victor1974
my pc two hhd wanted that in the second disc which this empty recorded all the events, that I must modify aside from ZM_DIR_EVENTS, ZM_DIR_IMAGES, ZM_DIR_SOUNDS?

mi equipo tiene dos hhd quisiera que en el segundo disco que esta vacio se grabaran todos los eventos, que debo modificar aparte de ZM_DIR_EVENTS, ZM_DIR_IMAGES, ZM_DIR_SOUNDS?

Posted: Tue Apr 15, 2008 12:48 am
by Lee Sharp
You need to;

1) Stop ZoneMinder

2) Move the events directory tree to the new drive.

3) Mount the new drive in the old location.

4) Start Zoneminder.

Posted: Tue Apr 15, 2008 1:53 am
by Victor1974
my new driver /cam
move /usr/share/zoneminder/events to /cam/events?

Posted: Tue Apr 15, 2008 3:42 am
by Lee Sharp
mv /usr/share/zoneminder/events/* /cam/*


Then mount the new drive in /etc/fstab at /usr/share/zoneminder/events and restart zoneminder.

Posted: Thu Apr 17, 2008 11:33 am
by Victor1974
No comprendo lo de montar el driver /etc/fstab en /usr/share/zoneminder/events.
Mi fstab:
I do not understand "Then mount the new drive in /etc/fstab at /usr/share/zoneminder/events"
My fstab:

Code: Select all

# /etc/fstab: static file system information.
#
# <file> <mount>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=e877915b-c5fe-4060-911f-1c9dde2c254a /               ext3    defaults,errors=remount-ro 0       1
# /dev/sda5
UUID=26238d97-5ee4-441b-ae52-93cab9165e16 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/sdb1  /cam  ext2  nosuid,exec,nodev  0  0

Posted: Thu Apr 17, 2008 3:34 pm
by coke
Change /cam to /usr/share/zoneminder/events in your fstab after you've moved the files/stopped zoneminder. Unmount it and remount it, you should be good.

Posted: Thu Apr 17, 2008 11:48 pm
by Victor1974
thank you very much to all :D
Muchas gracias atodos :D

Posted: Fri Apr 18, 2008 5:56 pm
by Lee Sharp
Por nada. Jo nessicito practicar mas me espanol. :)