Mixing Storage - Fast (SSD) and Slow (HDD)

Add any particular hints or tricks you have found to help with your ZoneMinder experience.
Post Reply
AnotherBrian
Posts: 103
Joined: Tue Jul 27, 2010 6:36 am

Mixing Storage - Fast (SSD) and Slow (HDD)

Post by AnotherBrian » Mon Jul 27, 2020 9:09 am

Is there a mechanism to store images on SSD and as the SSD fills up, then move the older images onto a hard drive?
So to do this, zoneminder needs to support browsing the older images.

For example, one could use an SSD to store the first 3 days of images. Then older images are occasionally moved off to cheap storage.

I suppose other features would possibly include reducing the fps on the older drive.
So zoneminder might record at 5 fps on SSD. That stores for maybe 3 days. Then "archive" it to HDD at 1fps.

Another possibility might be to have 2 zoneminders, one which is live and recording. Another zoneminder would have access to just the HDD stored trafffic. This then pulls off the load from the live zoneminder when people just want to look at historical images.

Thanks

User avatar
iconnor
Posts: 1238
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Mixing Storage - Fast (SSD) and Slow (HDD)

Post by iconnor » Mon Jul 27, 2020 8:29 pm

Yes there is.

AnotherBrian
Posts: 103
Joined: Tue Jul 27, 2010 6:36 am

Re: Mixing Storage - Fast (SSD) and Slow (HDD)

Post by AnotherBrian » Mon Jul 27, 2020 8:52 pm

Good! Could you tell me the concept - just enough for me to look it up.

For example I know it is not something to do with "archive" because many people say that "archive" just sets a bit.

I noticed that after v1.32.3 a new concept has been added called add storage. Should I look in that area?

Thanks!
Brian

SteveGilvarry
Posts: 440
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Mixing Storage - Fast (SSD) and Slow (HDD)

Post by SteveGilvarry » Tue Jul 28, 2020 9:52 am

Here is a list for you to check out.

1. Options -> Storage. Add Storage locations as you like. Then in each monitor in storage tab select the Storage you want to use.
https://zoneminder.readthedocs.io/en/st ... orage.html
2. If cameras are h264 and using ffmpeg, in Monitor Storage tab turn on h264 passthrough and turn off Jpeg. Basically this will record the camera compressed stream as an MP4, saves space and IO capacity.
https://zoneminder.readthedocs.io/en/la ... torage-tab
3. Filters - Build a filter to select what you want to move then use the "Move All Matches" option to move them to another Storage location.
https://zoneminder.readthedocs.io/en/la ... vents.html
Production Zoneminder 1.35.x
Random Selection of Cameras (Dahua and Hikvision)
More Dev VM's than I care to count.

AnotherBrian
Posts: 103
Joined: Tue Jul 27, 2010 6:36 am

Re: Mixing Storage - Fast (SSD) and Slow (HDD)

Post by AnotherBrian » Tue Jul 28, 2020 6:03 pm

thanks bunches.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests