Actions
Bug #22247
closedceph df report wrong pool usage pct
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
In previous code we use USED/ USED + MAX_AVAIL, in PR https://github.com/ceph/ceph/pull/10584
however, the USED here is nominal amount stored by the pool, but MAX_AVAIL is RAW_AVAIL can be used by the pool.
root@ceph-dev-d-1337821:~# ceph df detail GLOBAL: SIZE AVAIL RAW USED %RAW USED OBJECTS 18592G 12574G 6017G 32.37 19246k POOLS: NAME ID QUOTA OBJECTS QUOTA BYTES USED %USED MAX AVAIL OBJECTS DIRTY READ WRITE RAW USED cephfs_meta 5 N/A N/A 5950M 0.25 2334G 11065605 10806k 122M 2076M 17851M cephfs_data 6 N/A N/A 1851G 18.77 8016G 8643254 8440k 460M 5590M 5555G
Actions