Re: [ceph-users] rados rm objects, still appear in rados ls
John Spray wrote: > On Fri, Sep 28, 2018 at 2:25 PM Frank (lists) 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@lists.ceph.com >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] rados rm objects, still appear in rados ls
On Fri, Sep 28, 2018 at 2:25 PM Frank (lists) 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? John > > I use Centos 7.5 with mimic 13.2.2 > > > regards, > > Frank de Bot > > ___ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[ceph-users] rados rm objects, still appear in rados ls
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? I use Centos 7.5 with mimic 13.2.2 regards, Frank de Bot ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com