Page 1 of 1
How specify max disk space used in terms of bytes
Posted: Tue Jun 30, 2020 9:42 pm
by bughound
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?
Re: How specify max disk space used in terms of bytes
Posted: Thu Jul 02, 2020 3:05 pm
by Roduss
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

Re: How specify max disk space used in terms of bytes
Posted: Fri Jul 03, 2020 4:44 am
by burger
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.
Re: How specify max disk space used in terms of bytes
Posted: Fri Jul 03, 2020 2:21 pm
by bughound
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
