Re: RGW how to delete orphans

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

 



Hi,
Yes I'm able to run these commands, however it is unclear both in man file and the docs what's supposed to happen with the orphans, will they be deleted once I run finish? Or will that just throw away the job? What will orphans find actually produce? At the moment it just outputs a lot of text saying something like putting $num in orphans.$jobid.$shardnum and listing objects that are not orphans?

Regards,
Andreas

On 28 Sep 2017 15:10, "Webert de Souza Lima" <webert.boss@xxxxxxxxx> wrote:
Hello,

not an expert here but I think the answer is something like:

radosgw-admin orphans find --pool=_DATA_POOL_ --job-id=_JOB_ID_
radosgw-admin orphans finish --job-id=_JOB_ID_

_JOB_ID_ being anything.



Regards,

Webert Lima
DevOps Engineer at MAV Tecnologia
Belo Horizonte - Brasil

On Thu, Sep 28, 2017 at 9:38 AM, Andreas Calminder <andreas.calminder@xxxxxxxxxx> wrote:
Hello,
running Jewel on some nodes with rados gateway I've managed to get a
lot of leaked multipart objects, most of them belonging to buckets
that do not even exist anymore. We estimated these objects to occupy
somewhere around 60TB, which would be great to reclaim. Question is
how, since trying to find them one by one and perform some kind of
sanity check if they're in use or not will take forever.

The radosgw-admin orphans find command sounds like something I could
use, but it's not clear if the command also removes the orphans? If
not, what does it do? Can I use it to help me removing my orphan
objects?

Best regards,
Andreas
_______________________________________________
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


_______________________________________________
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