Multiple storage

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
boyrok
Posts: 4
Joined: Wed Apr 03, 2024 5:02 pm

Multiple storage

Post by boyrok »

I have a question regarding storing events on multiple disks.
I have the SSD disk for the system and I want to put 2 extra 8 TB HDDs.

Furthermore, I have the procedure for one disk, but not how to do it with two. What is the procedure to implement both? With two disks to store, what procedure does zonemiender follow to store, first fill one and then the other? Which is better file system NFS, EXT4 or XFS?

Code: Select all

NEW_LOCATION="/mnt/nfs/zoneminder/events"

sudo mkdir -p $NEW_LOCATION \
  && sudo rm -rf /var/cache/zoneminder/events \
  && sudo mkdir -p $NEW_LOCATION \
  && sudo chown --recursive www-data:www-data $NEW_LOCATION \
  && sudo ln -s $NEW_LOCATION /var/cache/zoneminder/events
  
  sudo chown www-data:www-data -R /mnt/nfs
  
  
dougmccrary
Posts: 1216
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Multiple storage

Post by dougmccrary »

I use events1 and events2 with ext4, no reserve space. I name them Default1 and Default2 (Default or Null is set up at install).
Put the respective paths in Options->Storage. The name you give them there will appear in the monitor's Storage Area drop-down.
If you leave the existing /event directory, zm will still be able to find it after you add your new storage.
Post Reply