Re: unknown object

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

 



There could be a couple of things going on here. When you copy an object to a new bucket, it creates what’s widely known as a “shallow” copy. The head object gets a true copy, but all tail objects are shared between the two copies.

There could also be occasional bugs or somehow an object delete is interrupted that result in unneeded objects that are referred to as “orphans” being left over.

You didn’t specify which version you’re running, but most recent versions of ceph come with a tool called `rgw-orphan-list`. It’s a shell script, so if you’re familiar with scripting you can examine how it works. It’s designed to list the orphans but not the shared tail objects. Many ceph users use that tool to list the orphans and then delete those directly from the rados pool, although please realize it’s still considered “experimental”.

Eric
(he/him)

> On Jun 6, 2022, at 7:14 AM, farhad kh <farhad.khedriyan@xxxxxxxxx> wrote:
> 
> i deleted all object in my bucket but used capacity not zero
> when i list object in pool wit `rados -p default.rgw.buckets.data.ls` shows
> me a lot of objects
> 
> 2ee2e53d-bad4-4857-8bea-36eb52a83f34.5263789.1__shadow_1/16Q91ZUY34EAW9TH.2~zOHhukByW0DKgDIIihOEhtxtW85FO5m.74_1
> 2ee2e53d-bad4-4857-8bea-36eb52a83f34.5263789.1__shadow_1/PRZEDHF9NSTRGG9G.2~-3Kdywfa6qNjy0j8JaKF8XbwR2e7HPQ.17_1
> 2ee2e53d-bad4-4857-8bea-36eb52a83f34.5263789.1__shadow_1/YZN8L9MDGZRTAO3F.2~ygKOynlKPsHC23k53N3MtsybuIJgpZa.92_1
> 2ee2e53d-bad4-4857-8bea-36eb52a83f34.5263789.1__multipart_1/A9JR4TZHBU5EITOV.2~3i2aUR5RIVEHlnZuyAVLf_eSzlziTtq.99
> 2ee2e53d-bad4-4857-8bea-36eb52a83f34.5263789.1__multipart_1/YZN8L9MDGZRTAO3F.2~ygKOynlKPsHC23k53N3MtsybuIJgpZa.58
> 2ee2e53d-bad4-4857-8bea-36eb52a83f34.5263789.1__shadow_1/ODVRPVIRSCIQBKRD.2~4ipoaspJ-8RdWU8R6GC9DT4cOOdwBGl.80_1
> 2ee2e53d-bad4-4857-8bea-36eb52a83f34.5263789.1__shadow_1/1IG3IWQUTAKWW6MI.2~MuhYMb1HsKBU73ZOC7Xpb7ZBHQ_1qrK.41_1
> 
> How are these objects created? And how to delete them even though they are
> not in the bucket list?

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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