change directory and disc rec

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
Victor1974
Posts: 26
Joined: Sun Apr 06, 2008 4:52 pm
Location: Caracas-Venezuela

change directory and disc rec

Post 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?
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post 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.
User avatar
Victor1974
Posts: 26
Joined: Sun Apr 06, 2008 4:52 pm
Location: Caracas-Venezuela

Post by Victor1974 »

my new driver /cam
move /usr/share/zoneminder/events to /cam/events?
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post 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.
User avatar
Victor1974
Posts: 26
Joined: Sun Apr 06, 2008 4:52 pm
Location: Caracas-Venezuela

Post 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
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post 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.
User avatar
Victor1974
Posts: 26
Joined: Sun Apr 06, 2008 4:52 pm
Location: Caracas-Venezuela

Post by Victor1974 »

thank you very much to all :D
Muchas gracias atodos :D
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

Por nada. Jo nessicito practicar mas me espanol. :)
Locked