All of lore.kernel.org
 help / color / mirror / Atom feed
* Cleaning up CephFS pool
@ 2012-11-06 19:21 Denis Fondras
  2012-11-06 19:24 ` Gregory Farnum
  0 siblings, 1 reply; 4+ messages in thread
From: Denis Fondras @ 2012-11-06 19:21 UTC (permalink / raw)
  To: ceph-devel

Hello all,

I noticed that removing files on CephFS doesn't reclaim free space using 
ceph version 0.52(commit:e48859474c4944d4ff201ddc9f5fd400e8898173)

I created 2 500GB files on CephFS (mounted with ceph-fuse) and then 
removed them. Now "rados df -p data" shows a 1GB usage :
--8<----------------
pool name       category                 KB      objects       clones 
   degraded      unfound           rd        rd KB           wr        wr KB
data            -                 1048580595       257696            0 
           0           0            0            0       628853   1629192870
--8<----------------

Is there a way to clean it up ? "rados cleanup" needs a prefix I don't 
know...
Of course, I could "rm" every objects but what if I had other files that 
I don't want to remove from CephFS ?

Thanks in advance,
Denis

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-06 21:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-06 19:21 Cleaning up CephFS pool Denis Fondras
2012-11-06 19:24 ` Gregory Farnum
2012-11-06 19:29   ` Denis Fondras
2012-11-06 21:50     ` Gregory Farnum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.