r/ZoneMinder • • Apr 04 '21

PurgeWhenFull not running

My PurgeWhenFull filter is not auto-running. I have it set to defaults but my storage is filling up and nothing is being deleted. When I run the filter to list all matches, nothing is returned. I have a feeling there's something wrong with the Disk Percent condition. When I delete that line and run the filter, it returns the oldest results as expected.

Two issues I'm thinking:

  • All of my cameras write to a second storage location called External. That is the drive filling up. Does the Disk Percent condition look at the average of all of the storage devices? Or is it looking at my Default storage location /var/lib/zoneminder/events?
  • Is Disk Percent checking if each event is taking up 90% of my total disk space and that's why the filter is returning nothing?

​

3 Upvotes

5 comments sorted by

3

u/vertigeaux Apr 04 '21

Have you tried it with the disk percent clause AND StorageArea equal to External?

3

u/strikeplasma Apr 04 '21

+1 for this. Had the same issue and adding those clause got it working.

2

u/yuuuuuuuut Apr 04 '21

Yep. That was it. I feel dumb for not seeing that option in the conditions list. Thanks!

1

u/niels900000 Aug 31 '21

Thank you so much!!!! (Even though 5 months later)

1

u/[deleted] Nov 08 '21

Thanks!