Auto HD clean filter with two drives.

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
thor95
Posts: 5
Joined: Wed Jul 15, 2020 9:04 pm

Auto HD clean filter with two drives.

Post by thor95 » Thu Oct 22, 2020 7:39 pm

I'm running ZM 1.34.22 with five cams storage over two HD's. The default boot drive stores three low-res cams along with boot Ubuntu OS and the two HD cams are stored on a secondary drive.
I run the default filter to keep the drives purged when they hit 85% capacity but I've been finding that while the secondary drive seems to be flushed by the filter, the default drive is not and fills the drive to 100% causing problems with the overall performance of the system.
I wind up having to CLI in to Terminal and remove files/folders manually to get the system running properly again.
OS is Linux distro Ubuntu 20.04.1 LTS.

Anybody else running a similar config?

burger
Posts: 262
Joined: Mon May 11, 2020 4:32 pm

Re: Auto HD clean filter with two drives.

Post by burger » Fri Oct 23, 2020 1:03 am

See: https://wiki.zoneminder.com/Using_a_ded ... structions
Choose the PurgeWhenFull filter. Add storage area and the default will be equal to, which will work. Choose your new storage area from the drop down. You can test the filter now, by clicking on List Matches. Click save, to make the changes permanent.
fastest way to test streams:
ffmpeg -i rtsp://<ipaddress>:554/path output.mp4
from terminal, and run through paths on ispydb or in zm hcl

If you are new to security software, read this:
https://wiki.zoneminder.com/Dummies_Guide

thor95
Posts: 5
Joined: Wed Jul 15, 2020 9:04 pm

Re: Auto HD clean filter with two drives.

Post by thor95 » Fri Oct 23, 2020 3:20 am

When I added the second drive I never changed the Purge filter. The system is purging the new, second hard drive correctly.
It is not purging the original, existing default drive any more.
I look in the Purge filter and there is no drop down that identifies specific hard drives.
Archive Status equal to Unarchived Only and Disk Percent greater or equal to 85.
There is nothing here that is specific to a particular drive.

prplhaz4
Posts: 3
Joined: Fri Mar 13, 2020 7:37 pm

Re: Auto HD clean filter with two drives.

Post by prplhaz4 » Fri Oct 23, 2020 6:01 pm

thor95 wrote:
Fri Oct 23, 2020 3:20 am
When I added the second drive I never changed the Purge filter. The system is purging the new, second hard drive correctly.
It is not purging the original, existing default drive any more.
I look in the Purge filter and there is no drop down that identifies specific hard drives.
Archive Status equal to Unarchived Only and Disk Percent greater or equal to 85.
There is nothing here that is specific to a particular drive.
I've created a filter for each storage area (hard drive) I use, and it seems to work. The name of the field will be "Storage Area".
Attachments
zm_filters_MultipleStorageLocations.png
zm_filters_MultipleStorageLocations.png (97.73 KiB) Viewed 1040 times

AveryGavin
Posts: 1
Joined: Mon Apr 05, 2021 7:45 pm

Re: Auto HD clean filter with two drives.

Post by AveryGavin » Thu Apr 08, 2021 6:35 am

I'm a little puzzled by what I saw. I've never encountered this in all my practice, so I'd love it if someone who understands it could explain it to me in detail. I've come across many information and programs, but I haven't seen this yet, so it's pretty interesting to me. I know about VFDs. If anyone has heard of it too, I'd be happy to talk to you about it. I see the discussion may not be as relevant anymore, but I'm sure there will be people who will find this information interesting. Thanks for sharing the post!

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests