Zoneminder - Save JPEGs Disabled

RegularJoe

Patron
Joined
Aug 19, 2013
Messages
330
Hi All,

If I had Zoneminder 1.34.21 set to
Save JPEGs = Frames + Analysis images(if available)

and later I change to "Disabled" should I expect the 310,091 jpg files to get deleted or do I have to manually delete those?

I do have autit enabled, I do NOT have fast deletes turned on and I have 3 datasets linked in Zoneminder under /mnt so that I can slice a portion of the disks for video and if need be make the dataset larger or smaller. This means I depend on the filter "Purge when full" to actually run on my datasets as well as the default storage. I am betting that the "Purge when full" only looks at defaults. :-(

I think there is an issue with ZM as it looks like the perl script is purging based on time and not %disk full:

Code:
root@zm:/mnt # sudo /usr/local/bin/zmaudit.pl --force
02/18/2021 21:13:38.876059 zmaudit[83578].ERR [main:106] [zmaudit.pl appears to already be running at pid 66333. Continuing.]
02/18/2021 21:13:40.456016 zmaudit[83578].INF [main:199] [Auditing All Storage Areas]
Filesystem event 6120 at /mnt/frontDoor/3/2021-02-17/6120 does not exist in database and is 87133 seconds old, deleting
Filesystem event 6133 at /mnt/frontDoor/3/2021-02-17/6133 does not exist in database and is 86551 seconds old, deleting
02/18/2021 21:13:46.436173 zmaudit[83578].INF [main:199] [Auditing All Storage Areas]
Deleted 0 log table entries by time
root@zm:/mnt # ls
frontDoor       poopBoxesUp     secondCamera
root@zm:/mnt # find . | grep ".jpg" | wc -l
  310093
root@zm:/mnt #



This command did get rid of all my .jpg files but I really do not want to have to drop to a shell to manage my disk space : find . -name "*.jpg" -type f -delete
 
Top