Forgive me if this has already been answered, but I searched high and low and couldn't find it.
I'd like to tell ZM to only use a max of, say 25 GB of disk space for my aggregate unarchived recordings (I am aware of how to do this using disk % filter, but that's not what I am looking for here).
How can I do this?
How specify max disk space used in terms of bytes
Re: How specify max disk space used in terms of bytes
Hi !
I've been trying to do this for a few days, what you can do is mount a file and set the size limit of 25 GB : https://askubuntu.com/questions/841282/ ... -directory
Then you have to automatically mount it editing fstab file (look answer from navigaid, it worked for me !)
https://askubuntu.com/questions/54970/h ... -boot-time
When you have this file mounted you can use the % filter more accurately because you will only store your ZM files in it.
Let me know if it solved your problem
I've been trying to do this for a few days, what you can do is mount a file and set the size limit of 25 GB : https://askubuntu.com/questions/841282/ ... -directory
Then you have to automatically mount it editing fstab file (look answer from navigaid, it worked for me !)
https://askubuntu.com/questions/54970/h ... -boot-time
When you have this file mounted you can use the % filter more accurately because you will only store your ZM files in it.
Let me know if it solved your problem
Re: How specify max disk space used in terms of bytes
The only issue would be if the file is in contiguous space (i.e. one big block on the HDD), which would not be ideal if you have a lot of such files.
I think this has been discussed on the forum previously.
I think this has been discussed on the forum previously.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Re: How specify max disk space used in terms of bytes
Thanks for the replies, greatly appreciated.
Having to manually mount a file of a fixed size seems like more of a workaround to me instead of a feature (currently not provided by ZM).
Time for me to drop a note in the suggestion box
Having to manually mount a file of a fixed size seems like more of a workaround to me instead of a feature (currently not provided by ZM).
Time for me to drop a note in the suggestion box