-
Notifications
You must be signed in to change notification settings - Fork 460
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
MinIO Tenant generated from MinIO operator shows incorrect storage #2249
Comments
The reporting is based on default storage class not rrs, if you want to see what rrs value would be make them same parity values. |
Thanks, good to know. My main concern here though is that Prometheus and the MinIO console is reporting 7.5TiB total available, whereas it should be 40TiB. Regarding reporting though, is there a way to see the logical and physical space a object takes. For example a 10MB file logically takes 10MB of space, but on a cluster with 50% parity it physically take 20MB. Thanks |
I have a sneaky suspicion this is related to the way I have a similar issue when testing on k3s. I specify 5Ti drives, but if I go into the minio container I see the /export0 mount is showing:
The console shows each drive as 59.2Gi, which is you do the GiB > GB conversion gives 63GB Is there anything that can be done here to help dev deployments and testing? |
The local-path provider hasn't support for volume capacity limits (source). There is not a lot we can do about that from MinIO. We use the |
Yes I agree. This isn't a minio issue but a k8s one. I managed to get around this in my dev k3s by deploying Longhorn which can then generate its own PVs from the local storage that are correctly sized. After that, everything reports exactly as it should |
When generating a cluster using a YAML manifest of a tenant, the capacity of the drives are not reported correctly via the GUI, MC or Prometheus metrics.
Expected Behavior
Create a MinIO tenant from MinIO Operator and have it correctly reflect the available storage size
Current Behavior
I create a Tenant with 4 servers, each with 2x 5Ti drives.
MinIO Operator reports a total capacity of 40Ti which is correct. MinIO itself reports each drive as 955GiB. Prometheus reports:
minio_cluster_capacity_raw_free_bytes{server="source-tenant-pool-0-3.source-tenant-hl.minio-tenant-source.svc.cluster.local:9000"} 7.520646332416e+12, which is 7.5TB by my math.
Any ideas??
Steps to Reproduce (for bugs)
The completely empty cluster shows this:
Context
I am trying to understand the reporting via Prometheus of free and used space, especially when using
REDUCED_REDUNDANCY
storage classesI see the same issue if I create the tenant from the Operator GUI, instead of using a manifest file.
Regression
Your Environment
minio --version
): RELEASE.2024-05-01T01-11-10Zuname -a
): Windows 10 + Docker DesktopPVs auto generated of correct size:
The text was updated successfully, but these errors were encountered: