Re: Deleting an rbd image hangs

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

 



Am 30.04.18 um 09:26 schrieb Jan Marquardt:
> Am 27.04.18 um 20:48 schrieb David Turner:
>> This old [1] blog post about removing super large RBDs is not relevant
>> if you're using object map on the RBDs, however it's method to manually
>> delete an RBD is still valid.  You can see if this works for you to
>> manually remove the problem RBD you're having.
> 
> I followed the instructions, but it seems that 'rados -p rbd ls | grep
> '^rbd_data.221bf2eb141f2.' | xargs -n 200  rados -p rbd rm' gets stuck,
> too. It's running since Friday and still not finished. The rbd image
> is/was about 1 TB large.
> 
> Until now the only output was:
> error removing rbd>rbd_data.221bf2eb141f2.00000000000051d2: (2) No such
> file or directory
> error removing rbd>rbd_data.221bf2eb141f2.000000000000e3f2: (2) No such
> file or directory

I am still trying to get rid of this. 'rados -p rbd ls' still shows a
lot of objects beginning with rbd_data.221bf2eb141f2, but if I try to
delete them with 'rados -p rbd rm <obj>' it says 'No such file or
directory'. This is not the behaviour I'd expect. Any ideas?

Besides this rbd_data.221bf2eb141f2.0000000000016379 is still causing
the OSDs crashing, which leaves the cluster unusable for us at the
moment. Even if it's just a proof of concept, I'd like to get this fixed
without destroying the whole cluster.

>>
>> [1] http://cephnotes.ksperis.com/blog/2014/07/04/remove-big-rbd-image
>>
>> On Thu, Apr 26, 2018 at 9:25 AM Jan Marquardt <jm@xxxxxxxxxxx
>> <mailto:jm@xxxxxxxxxxx>> wrote:
>>
>>     Hi,
>>
>>     I am currently trying to delete an rbd image which is seemingly causing
>>     our OSDs to crash, but it always gets stuck at 3%.
>>
>>     root@ceph4:~# rbd rm noc_tobedeleted
>>     Removing image: 3% complete...
>>
>>     Is there any way to force the deletion? Any other advices?
>>
>>     Best Regards
>>
>>     Jan



_______________________________________________
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