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 <idryo...@gmail.com>
发送时间:2018-03-26 20:09
主题:Re: [ceph-users] remove big rbd image is very slow
收件人:"shadow_lin"<shadow_...@163.com>
抄送:"ceph-users"<ceph-users@lists.ceph.com>

On Sat, Mar 17, 2018 at 5:11 PM, shadow_lin <shadow_...@163.com> 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 faster? 
> I know there are scripts to delete rados objects of the rbd image to make it 
> faster. But is the slowness expected for rbd rm command? 
> 
> PS: I also encounter very slow rbd export for large rbd image(20TB image but 
> with only a few GB data).Takes hours to completed the export.I guess both 
> are related to object map not enabled, but krbd doesn't support object map 
> feature. 

If you don't have any other images in that pool, you can simply delete 
the pool with "ceph osd pool delete".  It'll take a second ;) 

Thanks, 

                Ilya 
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to