Page 1 of 1

Multiple storage

Posted: Mon Apr 08, 2024 2:01 pm
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
  
  

Re: Multiple storage

Posted: Tue Apr 09, 2024 12:33 am
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.