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
health metrics freespace shows configured freespace and not actual freespace #1123
Comments
|
Hello, we are not using actual disk space because it has too many pitfalls:
Therefore, using StorageMax is more convenient and provides a very clear way for users to indicate their available storage. |
|
thanks to make this clear! |
|
Hi all , My idea : A user starts cluster-follower with a new attribute -ClusterStorageMax XXGB (default 10GB) If we introdcue this we would have a more clear picture on the cluster how much space is left on each cluster node. (Still we would have the problem if some put a fake value in, but in general it is more accurate.) From my point fo view it also helps a cluster with set values for min and max replication to select the correct node list too. Happy to hear your feedback.... FYI @hsanjuan |
|
@frankTheTank72 this is completely unrelated to the initial ticket. Please use a dedicated ticket for your feature request. |
i5heu commentedMay 13, 2020
•
edited
Additional information:
Describe the bug:
My machine has only 20GB left, but freespace shows 1000GB free.
This is because 1000GB is configured (StorageMax) in IPFS, but the actual freespace (e.g. linux command df) is not considered.
https://github.com/glvd/cluster/blob/d0d3ea64c1d0994765d48d5efe4195c051bdd728/informer/disk/disk.go#L99-L104
The text was updated successfully, but these errors were encountered: