Re: Deleting large pools

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

 



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.
-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

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux