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.
-Greg
On Thu, Nov 2, 2017 at 9:40 AM David Turner <drakonstein@xxxxxxxxx> 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com