show USE_DEEP_STORAGE in zm 1.30

Forum for questions and support relating to the 1.30.x releases only.
Locked
FacundoPultera
Posts: 3
Joined: Thu Feb 09, 2017 8:03 pm

show USE_DEEP_STORAGE in zm 1.30

Post by FacundoPultera »

Good afternoon dear

Currently in production I have a server with zoneminder version 1.28. (Centos 6.8 )
To update, install on another server the version of zoneminder 1.30. (Centos 6.8 )

Reading the zoneminder github link: https://github.com/ZoneMinder/ZoneMinder/releases

In one section it says the following:

"The option USE_DEEP_STORAGE has been hidden." This option has been enabled for many years, and this option was turned off in the near immediate deletion of events from the disk. No longer be modified from Options.In the unlikely event that you have a working system not already using deep storage, please contact us so we can get that enabled without your data.

Is there any possibility of disabling the USE_DEEP_STORAGE option?

Greetings and thank you very much.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: show USE_DEEP_STORAGE in zm 1.30

Post by bbunge »

You really do not want to disable that on a new system. Deep storage creates more directories so there is less likelihood that you will reach the max number of files in a directory. Yes, newer file systems are less prone to getting errors with a large number of files (remember 255?) but why take the chance.
FacundoPultera
Posts: 3
Joined: Thu Feb 09, 2017 8:03 pm

Re: show USE_DEEP_STORAGE in zm 1.30

Post by FacundoPultera »

Thanks for replying bbunge

I need to disable this option, since in the system we have a data purge and backup done in bash and we discard the problem.

To make a transparent upgrade and keep the entire data system clean, I need to deactivate this option.

any ideas?
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: show USE_DEEP_STORAGE in zm 1.30

Post by knight-of-ni »

Note that the quoted documentation states that the feature was hidden. It does not say the feature is automatically turned on, nor does it say that simply upgrading to a new version of zoneminder will automatically turn it on. Consequently, I'm not sure what you want from us.

If you have a third party piece of software which only works on the old filesystem structure then it will continue to work.

However, I do need to point out that, moving forward, third party software should use the API to access zoneminder's events, rather than directly accessing the files. When using the API, one does not need special knowledge about the filesystem structure, and when that structure changes (not if), the third party software does not need to be rewritten. This is important to understand because a future version of zoneminder will record to video container files rather than jpegs. When that happens the underlying filesystem structure will certainly change.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
FacundoPultera
Posts: 3
Joined: Thu Feb 09, 2017 8:03 pm

Re: show USE_DEEP_STORAGE in zm 1.30

Post by FacundoPultera »

Good afternoon dear

I solve the inconvenience.

You can close the post.

Greetings.
raydude
Posts: 65
Joined: Sun Jul 21, 2013 6:09 pm

Re: show USE_DEEP_STORAGE in zm 1.30

Post by raydude »

Can someone explain to me the difference between deep, medium and shallow? I can't get 1.32 to recognize my existing files because it is looking in 20YY-mm-dd and my folders are YY/mm/dd...

I need to get it to read them again...
Locked