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

[FR] Alert during pre-install checks if <5(?)GB free space exists on the file system. #331

Open
TodWulff opened this issue Apr 15, 2023 · 0 comments · May be fixed by #351
Open

[FR] Alert during pre-install checks if <5(?)GB free space exists on the file system. #331

TodWulff opened this issue Apr 15, 2023 · 0 comments · May be fixed by #351
Labels
✨ feature request New feature or request
Milestone

Comments

@TodWulff
Copy link

Is your feature request related to a problem? Please describe

Ref: https://discord.com/channels/758059413700345988/894225507489570837/1096825803213385818

[11:54 AM]MegaHurtz 🇺🇸 V2.2526: Hola. As info, I had an instance of Kiauh hanging during an initial install today. I had flashed a Debian 12 image onto a new host and growpart'd it, but forgot to resize2fs. As such, the filesystem filled up and the script hung, with no apparent reason for the hang, during the install of Klipper. It might be nice to have the script check for reasonable free space and to toss an error if there is risk of consuming the whole of the file system's remaining space, as part of the pre-install checks. Just a friendly suggestion.

[12:01 PM]th33xitus: can you open a feature request in kiauhs github repo for that please? so i can track it. i think it makes sense, but if i have no ticket to track, i will definitely forget it

[12:02 PM]th33xitus: what would you see as a "reasonable free space" for the full stack? it might be really hard to tell, honestly i have never tracked the space requirements for all dependencies and then the components themself.

[12:18 PM]MegaHurtz 🇺🇸 V2.2526: luckily I had an old ssh session open: https://i.imgur.com/8dAVJmf.png

So before the Kiauh install, it looks like the image and some basic packages consumed some 1.4GB on the drive. Afterwards it looks like it is 5.1G (Klipper/Moonraker/Mainsail). So I would presume that a reasonable free space value of <5GB would be a conservative threshold of alerting a possible concern, especially if the users decide to go bonkers and install everything under the sun (telegram bot, crowsnest, sonar, multiple instances, ...).

Yep, I'll make a FR on github.

[12:20 PM]MegaHurtz 🇺🇸 V2.2526: (and yes, I renamed the host as part of the commissioning process... )

Describe the solution you'd like

During pre-install checks, verify that 'reasonable' free space exists before commencing the install of all the dependencies and klipper/moonraker and UI packages, alerting if <5(?)GB exists.

Describe alternatives you've considered

No response

Additional information

No response

@TodWulff TodWulff added the ✨ feature request New feature or request label Apr 15, 2023
cravl-dev added a commit to cravl-dev/kiauh that referenced this issue Jun 8, 2023
@cravl-dev cravl-dev linked a pull request Jun 8, 2023 that will close this issue
@dw-0 dw-0 added this to the v6.0.0 milestone Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants