Results 1 to 2 of 2

Thread: Dedicated events partition on Zoneminder

  1. #1

    Default Dedicated events partition on Zoneminder

    Hi.
    I need dedicated events partition on ZM v1.32.3.
    Of course I read all documentation about it:
    https://zoneminder.readthedocs.io/en/st ... drive.html
    Note that I cannot follow exactly above istruction because OpenSuse has a different structure.
    This is what I do:
    1) I make new partition /dev/sdc1 on dedicated drive, formatted it with ext4 fs, and mouted on /ipcam directory.
    For all these job I used Yast Partitioner and I assumed that it use systemd method
    2)In /etc/fstab I read:
    UUID=5c86a7ff-c11b-4aa3-b768-b8dee60babed swap swap defaults 0 0
    UUID=689b20a6-e784-4462-b182-80ee1debaab2 swap swap defaults 0 0
    UUID=5015e8d0-12db-49c3-b129-40d1e001e8b3 / ext4 acl,user_xattr 1 1
    UUID=2357fa9e-9c80-49f9-9d3b-248967961eb9 /home xfs defaults 1 2
    UUID=440979e7-4dbd-4a54-a599-612d37afe0d8 /ipcam ext4 acl,user_xattr 1 2
    3) make "/events" and "/image" directory in /ipcam
    4)
    Code:
    sudo systemctl stop zoneminder
    5)
    Code:
    sudo chown -R wwwrun:www /ipcam/events
    sudo chown -R wwwrun:www /ipcam/images
    6) Under already existing /etc/zm.conf I have add 2 row:
    Code:
    ZM_DIR_EVENTS=/ipcam/events
    ZM_DIR_IMAGES=/ipcam/images
    7)
    Code:
     sudo systemctl start zoneminder
    8) There are no errors in Log window

    But ZM continue to use old directory /var/lib/zoneminder/events.
    I also tried to change the path in Option > Storage with the new one but still don't work.
    Where is my mistake?

    Thanks in advance

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,293
    Blog Entries
    2

    Default Re: Dedicated events partition on Zoneminder

    You're using UUID to identify your partitions in your fstab while identifying your partitions by device in your zoneminder configuration.
    Recommend you try using only one method to identify your partitions and use that method consistently.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •