Re: ceph storage capacity does not free when deleting contents from RBD volumes

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

 



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-bounces@xxxxxxxxxxxxxx] On Behalf Of Albert Archer
Sent: Thursday, May 19, 2016 1:59 PM
To: ceph-users@xxxxxxxx
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 

Albert

_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux