-
Notifications
You must be signed in to change notification settings - Fork 4
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
Free space mismatch #8
Comments
Hi. This is interesting. I can not reproduce it on my pool. The calculation is implemented as:
But I believe this is a wrong calculation. Could you share the output of your Also, FYI, I would recommend using |
Ah that's interesting. Here it shows 204 G "FREE" but before with zfs list it shows 67 G "AVAIL" AVAIL would be the correct metric since that's actually usable space. FREE shows the entirety of free space including reserved "slop space" |
Thanks for the recommendation but I liked this script because of the simplicity of the setup. If I migrate I might just do it with a bash oneliner or script and the node_exporter text collecter since that's already running anyway :) |
I believe I can add a metric for AVAIL. However, due to truenas/py-libzfs#249 I am no longer able to build a new Docker image. This issue is blocked until then :( |
The zfsprom_free metric is showing over 200 G free, while
zfs list
shows 67 G free.Any idea how this happens?
The text was updated successfully, but these errors were encountered: