Project

General

Profile

Actions

Bug #27237

closed

unix df reports global raw storage as usable storage after mimic 13.2.1 update.

Added by rory shcramm over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

os: Ubuntu 18.04.1
ceph version: 13.2.1-1
repo: ceph stable for mimic - 'deb https://download.ceph.com/debian-mimic/ bionic main'

after updating ceph to the 13.2.1-1 release unix df now reports ceph global raw storage as usable storage.

root@nas:~# df -h | grep /mnt/ceph
192.168.1.40:6789:/             91T   58T   33T  64% /mnt/cephfs
ceph-fuse                       91T   58T   33T  64% /mnt/ceph-fuse

root@nas:~# ceph df
GLOBAL:
    SIZE       AVAIL      RAW USED     %RAW USED
    91 TiB     33 TiB       58 TiB         63.76
POOLS:
    NAME                ID     USED        %USED     MAX AVAIL     OBJECTS
    cephfs.old          36      33 TiB     89.22       4.0 TiB     8792551
    cephfs_metadata     37     210 MiB         0       2.1 TiB       17062
    ec62                48         0 B         0       4.8 TiB           0
    ec72                53         0 B         0       5.0 TiB           0
    cephfs              60         0 B         0       4.8 TiB           0
    hdd_ec62            61     476 GiB      8.77       4.8 TiB      135766
Actions #1

Updated by John Spray over 5 years ago

  • Description updated (diff)
Actions #2

Updated by John Spray over 5 years ago

  • Project changed from Ceph to CephFS

Reporting raw available space was the historic behaviour of cephfs's fsstat implementation -- it's because in the general case there can be multiple data pools with different settings, so we can't sensible report the logical free space.

More recently (I forget exactly which version), we introduced a special case that gives the nicer logical free space when there is only one data pool. It still falls back to reporting total raw space if there are multiple data pools. Is it possible that you recently changed your CephFS configuration to add extra data pools?

Actions #3

Updated by Patrick Donnelly over 5 years ago

  • Status changed from New to Rejected

not a bug

Actions

Also available in: Atom PDF