Project

General

Profile

Backport #22270

Updated by Nathan Cutler over 3 years ago

https://github.com/ceph/ceph/pull/19230 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.

<pre>
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
</pre>

Back