I did have done that before, but in most time I can't just delete the pool.
Is there any other way to speed up the rbd image deletion?
2018-03-27
shadowlin
发件人:Ilya Dryomov
发送时间:2018-03-26 20:09
主题:Re: [ceph-users] remove big rbd image is very slow
收件人:"shadow_lin"
抄送:"
On Sat, Mar 17, 2018 at 5:11 PM, shadow_lin wrote:
> Hi list,
> My ceph version is jewel 10.2.10.
> I tired to use rbd rm to remove a 50TB image(without object map because krbd
> does't support it).It takes about 30mins to just complete about 3%. Is this
> expected? Is there a way to make it faste
Just to note the "magic" of object-map... If you had a 50TB RBD with
object-map and 100% of the RBD is in use, the rbd rm will take the same
amount of time to delete the RBD as if you don't have object-map enabled on
a brand new 50TB RBD that has no data in it. Removing that many objects
just take
Yes, this is what object-map does, it tracks used objects
For your 50TB new image:
- Without object-map, rbd rm must interate over every object, find out
that the object does not exists, look after the next object etc
- With object-map, rbd rm get the used objects list, find it empty, and
job is d
Hi list,
My ceph version is jewel 10.2.10.
I tired to use rbd rm to remove a 50TB image(without object map because krbd
does't support it).It takes about 30mins to just complete about 3%. Is this
expected? Is there a way to make it faster?
I know there are scripts to delete rados objects of the r