-
Notifications
You must be signed in to change notification settings - Fork 515
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
Bucket space usage #3109
Comments
|
@harshavardhana I am talking here about regular cluster (server deployments). I am not seeing any per bucket usage, only global usage. Please stop abusing authority and dismiss issues without reading them thoroughly. Gateway was just an example on how documentation is lacking. |
@s3rj1k that is available as an
The reason to close the issue is lack of information - the issue template is there for a reason, which you didn't use. It is in your best interest to provide us enough information including what you did and what you didn't to see the issue you are talking about, including server version that you are running, etc. There is nothing I see in the issue description which allows me to understand how should I help you. We close issues every day which lack issue description, so please be mindful of our time which is limited.
Gateway is not documenting this because it doesn't provide this information anyways. It is never said that it will and for some reason it is not present. |
2 buckets, on distributed cluster of 4 nodes, no per bucket space usage, latest
|
This is the bucket usage @s3rj1k - you need to use the API directly to see the |
@harshavardhana You mean that no cli option for viewing this usage is available? |
Not yet we shall add in future in mc.. |
@harshavardhana This should be somewhere documented as an open issue. |
Feel free to open one in our minio/mc project. |
Or let me move this issue to mc. |
@s3rj1k We will be adding this command to mc soon. Until then you can use the following command
This will list real time and display the value, but might take a very long time if you have millions of objects. |
Sorry for another +1'ish comment, but |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Any news? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Still relevant |
This would be really useful. |
You can get the usage per bucket from the prometheus metrics https://docs.minio.io/docs/how-to-monitor-minio-using-prometheus.html The data is not always up to date, in my setup it lags up to 24h. Nevertheless, it is a very fast way to retrieve the 'du' data. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Still relevant |
Why this is closed? |
Can we reopen this? Still relevant and much needed. |
Dear Friends, I`m also interested in this feature, in my case, I would need to use it through java Kind Regards, |
One workaround until this problem is fixed - is to maintain a local copy of the remote bucket (e.g. using backup software such as |
I think we can solve the issue with this script package main import (
) func main() {
} |
Isn't there any Prometheus metric exposed that provides this information? If not, probably that'd be the best implementation |
3 years have passed, no official solution to very basic OPS request is provided... |
Yes, although getting updated a bit slower/incrementally, seems like |
I am not confident that minio/minio#6577 answers original question fully,
mc admin info play
does not show per bucket usage, only combined bucket usage of whole cluster.Other solutions that were provided by
minio
team feel hacky, listening to bucket notifications.Also bucket notifications as per documentation do not work for usage case when
minio
is used as gateway fors3
, with or without cache.The text was updated successfully, but these errors were encountered: