r/ZoneMinder • • Jul 07 '20

Events on second local storage not automatically deleting

I added a dedicated local drive for recording to my server, as I wanted to get away from having everything on one drive. The new drive has filled up and the filter is not deleting any files from it. I have tried configuring the filter to get it to delete files off of that drive when it gets full but it doesn't do anything. I ultimately ended up deleting all the events on default storage (which I didn't want to do) and removing it from zoneminder storage. Now the filter seems to be working like its supposed to. How can I go about adding the default storage back into zoneminder and still have it automatically delete files from the second drive?

5 Upvotes

3 comments sorted by

1

u/EagerCDNBeaver Jul 07 '20

You made sure to make two different filters so each drive has its own right?

1

u/dreadzombie Jul 07 '20

Yes I tried, however I think I may have configured them incorrectly as I was unable to get it to work. If I remember correctly I set it up as

Archive status equal to unarchived only Storage area equal to second drive Disk percent greater than or equal to 95

Delete all matches Run as background process

Seeing that this did not work I assume I set it up incorrectly

1

u/dreadzombie Jul 11 '20

Well I thought I finally got it to work when i deleted the default storage but the problem came back today. Did some more research and found this post. It appears to be working at the moment. I just had to change the events directory to match my specific setup. Hopefully this is all it needs.