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
Updated by Xiaoxi Chen over 6 years ago
- Assignee set to Xiaoxi Chen
- Source set to Community (dev)
Updated by Kefu Chai over 6 years ago
- Description updated (diff)
- Status changed from New to Fix Under Review
Updated by Xiaoxi Chen over 6 years ago
- Backport changed from luminous,jewel to luminous,kraken
Not need to backport to jewel.
Updated by Kefu Chai over 6 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Kefu Chai over 6 years ago
- Copied to Backport #22270: ceph df report wrong pool usage pct added
Updated by Kefu Chai over 6 years ago
- Backport changed from luminous,kraken to luminous
kraken is EOL in August. removing from backport.
Updated by Greg Farnum over 6 years ago
- Status changed from Pending Backport to Resolved
https://github.com/ceph/ceph/pull/19230 for luminous
Updated by Nathan Cutler over 6 years ago
- Has duplicate Bug #22232: ceph df %used output is wrong added
Actions