I ran zmaudit.pl and space still consumed...
Posted: Wed Jan 17, 2018 2:40 pm
So this morning it was really foggy... I checked my phone and I had a plethora of captures emailed to me from ZM. Enough so that my gmail account was temporarily blocked. I immediately noticed that within the zoneminder web interface there was only one capture on the camera, even though it had clearly emailed me TONs of videos of the events. I checked the disk and it was 81% full.
I looked in the database, it only listed one capture in Events and Frames. I looked in the file system and there were tons of images and directories for last night and this morning to the tune of 25GB. I ran zmaudit.pl and it claimed to be cleaning up the directory structure (lots of orphaned files) but when I ran "du -sh" on the event capture directory, it still says 24GB consumed. Seems like nearly all the files are still there.
Should zmaudit.pl actually be removing the files from the disk? If so, why didn't it. If not, how to I get ZM to properly clean up after itself?
Also, any idea why/how ZM would have emailed me all these events without recording them properly in the database and (therefore) on the web interface?
Thanks,
-Greg
I looked in the database, it only listed one capture in Events and Frames. I looked in the file system and there were tons of images and directories for last night and this morning to the tune of 25GB. I ran zmaudit.pl and it claimed to be cleaning up the directory structure (lots of orphaned files) but when I ran "du -sh" on the event capture directory, it still says 24GB consumed. Seems like nearly all the files are still there.
Should zmaudit.pl actually be removing the files from the disk? If so, why didn't it. If not, how to I get ZM to properly clean up after itself?
Also, any idea why/how ZM would have emailed me all these events without recording them properly in the database and (therefore) on the web interface?
Thanks,
-Greg