|
| 1 | +:orphan: |
| 2 | + |
| 3 | +============================================================================= |
| 4 | + rgw-gap-list -- List bucket index entries with damaged RADOS backing objects |
| 5 | +============================================================================= |
| 6 | + |
| 7 | +.. program:: rgw-gap-list |
| 8 | + |
| 9 | +Synopsis |
| 10 | +======== |
| 11 | + |
| 12 | +| **rgw-gap-list** |
| 13 | +
|
| 14 | +Description |
| 15 | +=========== |
| 16 | + |
| 17 | +:program:`rgw-gap-list` is an *EXPERIMENTAL* RADOS gateway user |
| 18 | +administration utility. It produces a listing of bucket index entries |
| 19 | +that have missing backing RADOS objects. It places the results and |
| 20 | +intermediate files on the local filesystem rather than on the Ceph |
| 21 | +cluster itself, and therefore will not itself consume additional |
| 22 | +cluster storage. |
| 23 | + |
| 24 | +In theory these gaps should not exist. However because Ceph evolves |
| 25 | +rapidly, bugs do crop up, and they may result in bucket index entries |
| 26 | +that have missing RADOS objects, such as when a delete operation does |
| 27 | +not fully complete. |
| 28 | + |
| 29 | +Behind the scenes it runs `rados ls` and `radosgw-admin bucket |
| 30 | +radoslist ...` and produces a list of those entries that appear in the |
| 31 | +latter but not the former. Those entries are presumed to be the |
| 32 | +gaps. |
| 33 | + |
| 34 | +Note: Depending on the size of the pool(s) involved, this tool may be |
| 35 | +quite slow to produce its results. |
| 36 | + |
| 37 | +Warnings |
| 38 | +======== |
| 39 | + |
| 40 | +This utility is considered *EXPERIMENTAL*. |
| 41 | + |
| 42 | +Options |
| 43 | +======= |
| 44 | + |
| 45 | +.. option:: -p pool |
| 46 | + |
| 47 | + The RGW bucket data pool name. If option omitted the pool name will |
| 48 | + be prompted during execution. Multiple pools can be supplied as a |
| 49 | + space-separated double quoted list. |
| 50 | + |
| 51 | +.. option:: -t temp_directory |
| 52 | + |
| 53 | + The tool can produce large intermediate files. By default ``/tmp`` |
| 54 | + is used, but if the filesystem housing ``/tmp`` doesn't have |
| 55 | + sufficient free space, a different directory (on a filesystem with |
| 56 | + sufficient free space) can be specified. |
| 57 | + |
| 58 | +.. option:: -m |
| 59 | + |
| 60 | + Use two (multiple) threads to speed up the run. |
| 61 | + |
| 62 | + |
| 63 | +Examples |
| 64 | +======== |
| 65 | + |
| 66 | +Launch the tool:: |
| 67 | + |
| 68 | + $ rgw-gap-list -p default.rgw.buckets.data -t /home/super_admin/temp_files |
| 69 | + |
| 70 | +Availability |
| 71 | +============ |
| 72 | + |
| 73 | +:program:`rgw-gap-list` is part of Ceph, a massively scalable, open-source, |
| 74 | +distributed storage system. Please refer to the Ceph documentation at |
| 75 | +https://docs.ceph.com for more information. |
| 76 | + |
| 77 | +See also |
| 78 | +======== |
| 79 | + |
| 80 | +:doc:`radosgw-admin <radosgw-admin>`\(8) |
| 81 | +:doc:`rgw-orphan-list <rgw-orphan-list>`\(8) |
0 commit comments