Re: rados rm objects, still appear in rados ls

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

 



John Spray wrote:
> On Fri, Sep 28, 2018 at 2:25 PM Frank (lists) <lists@xxxxxxxxxxx> wrote:
>>
>> Hi,
>>
>> On my cluster I tried to clear all objects from a pool. I used the
>> command "rados -p bench ls | xargs rados -p bench rm". (rados -p bench
>> cleanup doesn't clean everything, because there was a lot of other
>> testing going on here).
>>
>> Now 'rados -p bench ls' returns a list of objects, which don't exists:
>> [root@ceph01 yum.repos.d]# rados -p bench stat
>> benchmark_data_ceph01.example.com_1805226_object32453
>>   error stat-ing
>> bench/benchmark_data_ceph01.example.com_1805226_object32453: (2) No such
>> file or directory
>>
>> I've tried scrub and deepscrub the pg the object is in, but the problem
>> persists. What causes this?
> 
> Are you perhaps using a cache tier pool?

The pool had 2 snaps. After removing those, the ls command returned no
'non-existing' objects. I expected that ls would only return objects of
the current contents, I did not specify -s for working with snaps of the
pool.

> 
> John
> 
>>
>> I use Centos 7.5 with mimic 13.2.2
>>
>>
>> regards,
>>
>> Frank de Bot
>>
>> _______________________________________________
>> 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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux