Re: cephfs df with EC pool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


On 06/28/2017 01:19 PM, Jake Grimmett wrote:
Dear All,

Sorry is this has been covered before, but is it possible to configure
cephfs to report free space based on what is available in the main
storage tier?

My "df" shows 76%, this gives a false sense of security, when the EC
tier is 93% full...

i.e. # df -h /ceph
Filesystem      Size  Used Avail Use% Mounted on
ceph-fuse       440T  333T  108T  76% /ceph

# ls -lhd /ceph
drwxr-xr-x 1 root root 254T Jun 27 17:03 /ceph

but "ceph df" shows that our EC pool is %92.46 full.

# ceph df
GLOBAL:
     SIZE     AVAIL     RAW USED     %RAW USED
     439T      107T         332T         75.57
POOLS:
     NAME         ID     USED     %USED     MAX AVAIL     OBJECTS
     rbd          0         0         0          450G             0
     ecpool       1      255T     92.46        21334G     105148577
     hotpool      2      818G     64.53          450G        236023
     metapool     3      274M      0.06          450G       2583306
Since 'df' is not able to access ceph (it simply does not know about ceph), it can only reports the information returned by ceph-fuse / kernel ceph.

'df' also operates on filesystem level, and data pools are assigned on directory level (with the default pool being assigned to the root directory). A single sane value for free available space is thus not meaningful, so the cephfs implementation just reports the overall values.

Regards,
Burkhard Linke
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux