Project

General

Profile

Bug #22247

ceph df report wrong pool usage pct

Added by Xiaoxi Chen 16 days ago. Updated 13 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
11/27/2017
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

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

Duplicated by RADOS - Bug #22232: ceph df %used output is wrong Duplicate 11/23/2017
Copied to RADOS - Backport #22270: ceph df report wrong pool usage pct Resolved

History

#1 Updated by Xiaoxi Chen 16 days ago

  • Backport set to luminous,jewel

#2 Updated by Xiaoxi Chen 16 days ago

  • Assignee set to Xiaoxi Chen
  • Source set to Community (dev)

#3 Updated by Kefu Chai 15 days ago

  • Description updated (diff)
  • Status changed from New to Need Review

#4 Updated by Xiaoxi Chen 15 days ago

  • Backport changed from luminous,jewel to luminous,kraken

Not need to backport to jewel.

#5 Updated by Kefu Chai 14 days ago

  • Status changed from Need Review to Pending Backport

#7 Updated by Kefu Chai 14 days ago

#8 Updated by Kefu Chai 14 days ago

  • Backport changed from luminous,kraken to luminous

kraken is EOL in August. removing from backport.

#9 Updated by Greg Farnum 13 days ago

  • Status changed from Pending Backport to Resolved

#10 Updated by Nathan Cutler about 19 hours ago

  • Duplicated by Bug #22232: ceph df %used output is wrong added

Also available in: Atom PDF