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

Allow to max out the drive rather than guessing the max size #115

Open
nazar-pc opened this issue Feb 4, 2024 · 0 comments
Open

Allow to max out the drive rather than guessing the max size #115

nazar-pc opened this issue Feb 4, 2024 · 0 comments
Assignees
Labels
backend Backend logic enhancement New feature or request farmer Farmer functionality frontend Frontend/user interface ux UX-related

Comments

@nazar-pc
Copy link
Member

nazar-pc commented Feb 4, 2024

Space Acres allows to specify the size for the farm, but there are a few UX issues:

  • if you specify the size that is larger than available space on disk, it will fail to start and there is no nice recovery from this situation right now (see Re-configuration support #16)
  • it takes a few attempts to actually guess the max size without exceeding disk size

As such it would be nice to support an option to fill the whole drive and let the app figure out how big the size should be for that to happen.

The strategy could be pretty simple:

  • start with the farm size that is equal to size of the drive -1GiB
  • if that fails, go down 1GiB at a time until it farm allocation succeeds

In config we can store None until farm size is known, after which it will be replaced with a fixed value identified during farm startup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend logic enhancement New feature or request farmer Farmer functionality frontend Frontend/user interface ux UX-related
Projects
Status: Open Tasks
Development

No branches or pull requests

1 participant