That is normal behavior. Ceph has no understanding of the filesystem living on top of the RBD, so it doesn’t know when space is freed up. If you are running a sufficiently current kernel, you can use fstrim to cause the kernel to tell Ceph what blocks are free. More details here: http://www.sebastien-han.fr/blog/2015/01/26/ceph-and-krbd-discard/
From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Albert Archer Sent: Thursday, May 19, 2016 1:59 PM To: ceph-us...@ceph.com Subject: [ceph-users] ceph storage capacity does not free when deleting contents from RBD volumes Hello All. I am newbie in ceph. and i use jewel release for testing purpose. it seems every thing is OK, HEALTH_OK , all of OSDs are in UP and IN state. I create some RBD images (rbd create .... ) and map to some ubuntu host . I can read and write data to my volume , but when i delete some content from volume (e,g some huge files,...), populated capacity of cluster does not free and None of objects were clean. what is the problem ??? Regards [https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif]Albert
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com