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
Mixing Storage - Fast (SSD) and Slow (HDD)
-
- Posts: 113
- Joined: Tue Jul 27, 2010 6:36 am
Re: Mixing Storage - Fast (SSD) and Slow (HDD)
Yes there is.
-
- Posts: 113
- Joined: Tue Jul 27, 2010 6:36 am
Re: Mixing Storage - Fast (SSD) and Slow (HDD)
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
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
-
- Posts: 494
- Joined: Sun Jun 29, 2014 1:12 pm
- Location: Melbourne, AU
Re: Mixing Storage - Fast (SSD) and Slow (HDD)
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
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.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Random Selection of Cameras (Dahua and Hikvision)
-
- Posts: 113
- Joined: Tue Jul 27, 2010 6:36 am
Re: Mixing Storage - Fast (SSD) and Slow (HDD)
thanks bunches.
Re: Mixing Storage - Fast (SSD) and Slow (HDD)
Is there a public script available for this?
I would like to initially write events to RAMDISK then upon event completion, move event to (slower) disk. Ubuntu and Debian flavors are ideal: Bus factor and all... I travel for work and might need something, could get hit by a bus, etc. and she's fine with Ubuntu command line but not so much CentOS. (Fedora/RedHat) Any script or example would be fine, I can go from there.
Cheers.
I would like to initially write events to RAMDISK then upon event completion, move event to (slower) disk. Ubuntu and Debian flavors are ideal: Bus factor and all... I travel for work and might need something, could get hit by a bus, etc. and she's fine with Ubuntu command line but not so much CentOS. (Fedora/RedHat) Any script or example would be fine, I can go from there.
Cheers.