Actions
Bug #22232
closedceph df %used output is wrong
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Consider this output:
GLOBAL:
SIZE AVAIL RAW USED %RAW USED
30.2G 14.3G 15.9G 52.78
POOLS:
NAME ID USED %USED MAX AVAIL OBJECTS
cephfs_data_a 1 0 0 4.65G 0
cephfs_metadata_a 2 2.19K 0 4.65G 21
foo 3 4.25G 23.33 4.65G 1088
The cluster is ~50% full but pool foo only uses ~23% of its max capacity. All pools have 3 replicas.
To reproduce:
../src/vstart.sh -n -s -d
bin/ceph osd pool create foo 8 8
bin/rados bench -p foo 60 write --max-object-size 4K --no-cleanup
bin/ceph df
Actions