summaryrefslogtreecommitdiffstats
path: root/doc/man/8/rgw-orphan-list.rst
blob: 7b36ec771a388e274efe179043094883371a921c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
:orphan:

==================================================================
 rgw-orphan-list -- list rados objects that are not indexed by rgw
==================================================================

.. program:: rgw-orphan-list

Synopsis
========

| **rgw-orphan-list**

Description
===========

:program:`rgw-orphan-list` is an *EXPERIMENTAL* RADOS gateway user
administration utility. It produces a listing of rados objects that
are not directly or indirectly referenced through the bucket indexes
on a pool. It places the results and intermediate files on the local
filesystem rather than on the ceph cluster itself, and therefore will
not itself consume additional cluster storage.

In theory orphans should not exist. However because ceph evolves
rapidly, bugs do crop up, and they may result in orphans that are left
behind.

In its current form this utility does not take any command-line
arguments or options. It will list the available pools and prompt the
user to enter the pool they would like to list orphans for.

Behind the scenes it runs `rados ls` and `radosgw-admin bucket
radoslist ...` and produces a list of those entries that appear in the
former but not the latter. Those entries are presumed to be the
orphans.

Warnings
========

This utility is currently considered *EXPERIMENTAL*.

This utility will produce false orphan entries for unindexed buckets
since such buckets have no bucket indices that can provide the
starting point for tracing.

Options
=======

At present there are no options.

Examples
========

Launch the tool::

        $ rgw-orphan-list

Availability
============

:program:`radosgw-admin` is part of Ceph, a massively scalable, open-source,
distributed storage system.  Please refer to the Ceph documentation at
https://docs.ceph.com for more information.

See also
========

:doc:`radosgw-admin <radosgw-admin>`\(8)
:doc:`ceph-diff-sorted <ceph-diff-sorted>`\(8)