All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Fondras <ceph@ledeuns.net>
To: ceph-devel@vger.kernel.org
Subject: Cleaning up CephFS pool
Date: Tue, 06 Nov 2012 20:21:03 +0100	[thread overview]
Message-ID: <5099631F.6090802@ledeuns.net> (raw)

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

             reply	other threads:[~2012-11-06 19:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-06 19:21 Denis Fondras [this message]
2012-11-06 19:24 ` Cleaning up CephFS pool Gregory Farnum
2012-11-06 19:29   ` Denis Fondras
2012-11-06 21:50     ` Gregory Farnum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5099631F.6090802@ledeuns.net \
    --to=ceph@ledeuns.net \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.