Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After deleting Options > Storage > storage ID 1, the disk space is still in uses #3814

Open
olignyf opened this issue Feb 4, 2024 · 3 comments

Comments

@olignyf
Copy link

olignyf commented Feb 4, 2024

Describe Your Environment

  • Version of ZoneMinder: v1.36.33
  • Debian 12

Describe the bug

  • Events in/ var/cache/zoneminder/events takes about 800GB.
  • No easy way to remove or reduce it.

To Reproduce

  • Click Options > Storage
  • Check the checkbox of the only storage item
  • Click "Delete"
  • No space is freed on the system

Expected behavior
Delete storage should delete the storage on the filesystem

Copy link

welcome bot commented Feb 4, 2024

Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!

@ovargasp
Copy link
Contributor

olignyf, that's an expected behavior, what the "options -> storage" does is present Zoneminder with the files storage location (configure it for ZM usage), so when you delete the storage what you're actually doing is telling Zoneminder to stop using it, not to empty it... if you want to release disk what you need to do is delete events stored there... there are several options: use a filter (that's what's normally used to maintain disk space); OS commands to delete files, the UI (slowest way but allows you to control what you want to keep)

@olignyf
Copy link
Author

olignyf commented May 10, 2024

Surely a better UX would be beneficial :

  • Optional checkbox offered to delete the files as well for people like me who want to purge the disk as well.
  • Better wording to indicate that it doesn't "Delete" but "Clear" storage configuration or something appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants