Project

General

Profile

Actions

Bug #22247

closed

ceph df report wrong pool usage pct

Added by Xiaoxi Chen over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% 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

Related issues 2 (0 open2 closed)

Has duplicate RADOS - Bug #22232: ceph df %used output is wrongDuplicateJan Fajerski11/23/2017

Actions
Copied to RADOS - Backport #22270: ceph df report wrong pool usage pctResolvedKefu ChaiActions
Actions #1

Updated by Xiaoxi Chen over 6 years ago

  • Backport set to luminous,jewel
Actions #2

Updated by Xiaoxi Chen over 6 years ago

  • Assignee set to Xiaoxi Chen
  • Source set to Community (dev)
Actions #3

Updated by Kefu Chai over 6 years ago

  • Description updated (diff)
  • Status changed from New to Fix Under Review
Actions #4

Updated by Xiaoxi Chen over 6 years ago

  • Backport changed from luminous,jewel to luminous,kraken

Not need to backport to jewel.

Actions #5

Updated by Kefu Chai over 6 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Kefu Chai over 6 years ago

Actions #8

Updated by Kefu Chai over 6 years ago

  • Backport changed from luminous,kraken to luminous

kraken is EOL in August. removing from backport.

Actions #9

Updated by Greg Farnum over 6 years ago

  • Status changed from Pending Backport to Resolved
Actions #10

Updated by Nathan Cutler over 6 years ago

  • Has duplicate Bug #22232: ceph df %used output is wrong added
Actions

Also available in: Atom PDF