Project

General

Profile

Actions

Bug #22232

closed

ceph df %used output is wrong

Added by Jan Fajerski over 6 years ago. Updated over 6 years ago.

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


Related issues 1 (0 open1 closed)

Is duplicate of Ceph - Bug #22247: ceph df report wrong pool usage pctResolvedXiaoxi Chen11/27/2017

Actions
Actions #2

Updated by Jan Fajerski over 6 years ago

  • Description updated (diff)
Actions #3

Updated by Nathan Cutler over 6 years ago

  • Backport set to luminous
Actions #4

Updated by Nathan Cutler over 6 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Jan Fajerski
Actions #5

Updated by Nathan Cutler over 6 years ago

  • Status changed from Fix Under Review to Duplicate

Closing as a duplicate of http://tracker.ceph.com/issues/22247

Actions #6

Updated by Nathan Cutler over 6 years ago

  • Is duplicate of Bug #22247: ceph df report wrong pool usage pct added
Actions #7

Updated by Nathan Cutler over 6 years ago

  • Backport deleted (luminous)
Actions

Also available in: Atom PDF