[ceph-users] Deleting large pools

Gregory Farnum gfarnum at redhat.com
Thu Nov 2 09:45:31 PDT 2017

Deletion is throttled, though I don’t know the configs to change it you
could poke around if you want stuff to go faster.

Don’t just remove the directory in the filesystem; you need to clean up the
leveldb metadata as well. ;)
Removing the pg via Ceph-objectstore-tool would work fine but I’ve seen too
many people kill the wrong thing to recommend it.
On Thu, Nov 2, 2017 at 9:40 AM David Turner <drakonstein at gmail.com> wrote:

> Jewel 10.2.7; XFS formatted OSDs; no dmcrypt or LVM.  I have a pool that I
> deleted 16 hours ago that accounted for about 70% of the available space on
> each OSD (averaging 84% full), 370M objects in 8k PGs, ec 4+2 profile.
> Based on the rate that the OSDs are freeing up space after deleting the
> pool, it will take about a week to finish deleting the PGs from the OSDs.
> Is there anything I can do to speed this process up?  I feel like there
> may be a way for me to go through the OSDs and delete the PG folders either
> with the objectstore tool or while the OSD is offline.  I'm not sure what
> Ceph is doing to delete the pool, but I don't think that an `rm -Rf` of the
> PG folder would take nearly this long.
> Thank you all for your help.
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20171102/d3df0634/attachment.html>

More information about the ceph-users mailing list