Чтобы диск очищался на дополнительно подключенных дисках, нужно сделать новый фильтр
https://zoneminder.readthedocs.io/en/latest/faq.html?highlight=add%20disk#how-can-i-stop-zoneminder-filling-up-my-disk
Please note that that this filter will only affect the default storage location. If you have added other storage areas, you must create a PurgeWhenFull filter for each one, and specify the Storage Area as one of the parameters in the filter. You can duplicate the existing PurgeWhenFull filter by using Save As instead of Save.
Чтобы zm занимал меньше места, видео можно писать с меньшим количеством кадров, уменьшать кадры лучше на видеокамере в настройках, подходит где-то 6 кадров в секунду.
https://zoneminder.readthedocs.io/en/latest/installationguide/ubuntu.html#ubuntu-18-04-bionic