You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/02/14 10:19:18 UTC
[GitHub] [cloudstack] rohityadavcloud commented on issue #5500: CEPH Primary Storage capacity calculate
rohityadavcloud commented on issue #5500:
URL: https://github.com/apache/cloudstack/issues/5500#issuecomment-1038905927
Hi @leolleeooleo I see what you mean now. But in case my the replicate set is 3, so ideally used should be 23 * 3 (=69GB?). But I see what you mean, the stored is the actual usage not considering the replicated objects. Let me share my current stats/screenshots (these maybe old, now I've moved to 3osds, 1tb ssd each) and ask if the total is stored capacity or raw capacity (I think total in cloudstack is raw capacity too, so it does not matter I think?):
<img width="970" alt="Screenshot 2022-02-14 at 3 44 52 PM" src="https://user-images.githubusercontent.com/95203/153845203-2f451b50-6769-44e2-baff-acc2d2f02d4f.png">
<img width="388" alt="Screenshot 2022-02-14 at 3 45 20 PM" src="https://user-images.githubusercontent.com/95203/153845219-419839ef-7c9a-422f-8957-669a5fda0c9e.png">
```
# ceph df
--- RAW STORAGE ---
CLASS SIZE AVAIL USED RAW USED %RAW USED
ssd 2.7 TiB 1.6 TiB 1.2 TiB 1.2 TiB 42.85
TOTAL 2.7 TiB 1.6 TiB 1.2 TiB 1.2 TiB 42.85
--- POOLS ---
POOL ID PGS STORED OBJECTS USED %USED MAX AVAIL
device_health_metrics 1 1 2.0 MiB 1 5.9 MiB 0 486 GiB
meowceph 2 64 30 GiB 7.95k 83 GiB 5.41 486 GiB
...
```
cc @wido @GabrielBrascher @weizhouapache do you know/remember if the pool total/capacity in CloudStack relates to the raw capacity or the storable/stored capacity? Basically is this expected or we should fix the parsing to get stored capacity instead of used capacity from ceph.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org