PurgeWhenFull nfs
Posted: Mon Sep 30, 2019 9:43 pm
Dear All,
Using v1.32.3 on Debian Stretch and an nfs mount /zoneminder (permissions 755, www-data:www-data), included in a config file indicating this path under /etc/zm/, the UI does show a plausible space: "storage DB:16/151 Storage: Default: 77%, Default: 30% /dev/shm: 48%" means that 77 % of /zoneminder is full. Filters work in general, for example I can delete recordings with a startdate earlier than X.
What does not work is PurgeWhenFull. This does always evaluate "Default", not "Storage: Default". I did read many postings without finding a solution. Can someone please be so kind to indicate briefly how to proceed? If there is no way to get PurgeWhenFull working in this case, a script deleting content older than X days would also work. There, the challange seems to be to compute the relative date from scratch every time the srcipt runs.
Regards,
Michael Schefczyk
Using v1.32.3 on Debian Stretch and an nfs mount /zoneminder (permissions 755, www-data:www-data), included in a config file indicating this path under /etc/zm/, the UI does show a plausible space: "storage DB:16/151 Storage: Default: 77%, Default: 30% /dev/shm: 48%" means that 77 % of /zoneminder is full. Filters work in general, for example I can delete recordings with a startdate earlier than X.
What does not work is PurgeWhenFull. This does always evaluate "Default", not "Storage: Default". I did read many postings without finding a solution. Can someone please be so kind to indicate briefly how to proceed? If there is no way to get PurgeWhenFull working in this case, a script deleting content older than X days would also work. There, the challange seems to be to compute the relative date from scratch every time the srcipt runs.
Regards,
Michael Schefczyk