Re: Infernalis, cephfs: difference between df and du

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

 



As I understand it:

4.2G is used by ceph (all replication, metadata, et al) it is a sum of
all the space "used" on the osds.
958M is the actual space the data in cephfs is using (without replication).
3.8G means you have some sparse files in cephfs.

'ceph df detail' should return something close to 958MB used for your
cephfs "data" pool. "RAW USED" should be close to 4.2GB

--
Adam

On Sun, Jan 17, 2016 at 9:53 PM, Francois Lafont <flafdivers@xxxxxxx> wrote:
> On 18/01/2016 04:19, Francois Lafont wrote:
>
>>     ~# du -sh /mnt/cephfs
>>     958M      /mnt/cephfs
>>
>>     ~# df -h /mnt/cephfs/
>>     Filesystem      Size  Used Avail Use% Mounted on
>>     ceph-fuse        55T  4.2G   55T   1% /mnt/cephfs
>
> Even with the option --apparent-size, the size are different (but closer indeed):
>
>     ~# du -sh --apparent-size /mnt/cephfs
>     3.8G        /mnt/cephfs
>
>
> --
> François Lafont
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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