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

Enhancement: Reduction of Disk Allocation --Warn & Wait #214

Open
jlpoolen opened this issue Apr 3, 2022 · 1 comment
Open

Enhancement: Reduction of Disk Allocation --Warn & Wait #214

jlpoolen opened this issue Apr 3, 2022 · 1 comment
Labels
rust Rust backend work required usability Usability / user interface improvements

Comments

@jlpoolen
Copy link
Contributor

jlpoolen commented Apr 3, 2022

I have not updated Moonfire-nvr for about 2 months? But while moonfire is undertaking a disk allocation reduction, I thought I might use the time to log this enhancement request.

I've added three now cameras and needed to re-allocated the 8 TBs of disk space to bring onboard 6 new areas (main & sub) for storage for the three new cameras. As a result, I reduced the allocation on other cameras.

After I confirm the amount typing in the exact size requirements, the system goes into file removal mode and the colored console is replaced by a screen filled with numbers (presumably files) that are to be deleted. The process can take several minutes, and knowing what I do in working with large amount of files in the project, one must be patient and let the Western Digital Purple hard disk execute the file removals.

A new user may not realize what a task is being undertaken by removing files, so I suggest 1) the user be warned that the file removal may take 5-10 minutes or more, and/or 2) that the colorful ncurses interface may be replaced temporarily with a screen-full of files and that the program is not going into a tailspin. It's the final screen, an artifact of ncurses and a huge removal command, that may confuse new users.

Here are some relevant screenshots.
putty_2022-04-03_13-51-33

putty_2022-04-03_13-52-30

putty_2022-04-03_13-52-47

edit: I should add that I'm also in a tmux "shell" when I execute the above.

@jlpoolen
Copy link
Contributor Author

jlpoolen commented Apr 3, 2022

The deletion of saved files in the sub feed directory took approximately 36 minutes until the colorful ncurses screen was restored.
putty_2022-04-03_14-29-02

@scottlamb scottlamb added rust Rust backend work required usability Usability / user interface improvements labels Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Rust backend work required usability Usability / user interface improvements
Projects
None yet
Development

No branches or pull requests

2 participants