Disk requires periodic directory repair
I am running Security Spy with admittedly limited hardware:
2011 iMac, osX 10.13.6
2TB external HDD connected by USB 2.0, set to delete files when less than 100GB free
4 2MP cameras and 2 4MP cameras
With my setup, I get about 9 day's worth of video storage. I ran into an error regarding writing to disk after about 2-3 weeks of continuous use. Since then, I have monitored disk pressure and note that it starts to spike and rise at about 2 weeks, going from 0-0.5% to 5% or more. When that happens, I will shut the program down and run DiskWarrior which always shows that the directory needs to be rebuilt. After that, everything is OK. Is there something I can do to prevent the directory issues?
On a separate note, I have noticed that while the older video files are removed, the empty folders for those days remain and have to be manually deleted. Is there a way for these folders to be automatically deleted?
Thanks for any input into these issues