On Fri, Jan 4, 2019 at 1:53 AM David C <dcsysengin...@gmail.com> wrote: > > Hi All > > Luminous 12.2.12 > Single MDS > Replicated pools > > A 'df' on a CephFS kernel client used to show me the usable space (i.e the > raw space with the replication overhead applied). This was when I just had a > single cephfs data pool. > > After adding a second pool to the mds and using file layouts to map a > directory to that pool, a df is now showing the raw space. It's not the end > of the world but was handy to see the usable space. > > I'm fairly sure the change was me adding the second pool although I'm not 99% > sure. > > I'm seeing this behavior on the latest Centos 7.6 kernel and a 4.14 kernel, > is this expected? >
Yes, it's expected. see commit commit 06d74376c8af32f5b8d777a943aa4dc99165088b Author: Douglas Fuller <dful...@redhat.com> Date: Wed Aug 16 10:19:27 2017 -0400 ceph: more accurate statfs Improve accuracy of statfs reporting for Ceph filesystems comprising exactly one data pool. In this case, the Ceph monitor can now report the space usage for the single data pool instead of the global data for the entire Ceph cluster. Include support for this message in mon_client and leverage it in ceph/super. > Thanks, > David > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com