]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rgw: add man documentation for the rgw-gap-list tool 63996/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Wed, 9 Apr 2025 15:47:31 +0000 (11:47 -0400)
committerZac Dover <zac.dover@proton.me>
Wed, 18 Jun 2025 12:03:00 +0000 (22:03 +1000)
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 12eb87463cdf952b9d16eac899f1ca40670ca2bc)

doc/man/8/CMakeLists.txt
doc/man/8/rgw-gap-list.rst [new file with mode: 0644]

index 4026cf9d0950a7ea6082dca6c98c1813cf676113..772b822beb02f676a9402ac1c0dbcf467bcf41ed 100644 (file)
@@ -59,6 +59,7 @@ if(WITH_RADOSGW)
        radosgw.rst
        radosgw-admin.rst
        rgw-orphan-list.rst
+       rgw-gap-list.rst
        rgw-policy-check.rst
        ceph-diff-sorted.rst
        rgw-restore-bucket-index.rst)
diff --git a/doc/man/8/rgw-gap-list.rst b/doc/man/8/rgw-gap-list.rst
new file mode 100644 (file)
index 0000000..c4dca6f
--- /dev/null
@@ -0,0 +1,81 @@
+:orphan:
+
+=============================================================================
+ rgw-gap-list -- List bucket index entries with damaged RADOS backing objects
+=============================================================================
+
+.. program:: rgw-gap-list
+
+Synopsis
+========
+
+| **rgw-gap-list**
+
+Description
+===========
+
+:program:`rgw-gap-list` is an *EXPERIMENTAL* RADOS gateway user
+administration utility. It produces a listing of bucket index entries
+that have missing backing RADOS objects. It places the results and
+intermediate files on a local filesystem rather than on the Ceph
+cluster itself, and therefore will not itself consume additional
+cluster storage.
+
+In theory these gaps should not exist. However because Ceph evolves
+rapidly, bugs do crop up, and they may result in bucket index entries
+that have missing RADOS objects, such as when a delete operation does
+not fully complete.
+
+Behind the scenes it runs `rados ls` and `radosgw-admin bucket
+radoslist ...` and produces a list of those entries that appear in the
+latter but not the former. Those entries are presumed to be the
+gaps.
+
+Note: Depending on the size of the pool(s) involved, this tool may be
+quite slow to produce its results.
+
+Warnings
+========
+
+This utility is considered *EXPERIMENTAL*.
+
+Options
+=======
+
+.. option:: -p pool
+
+   The RGW bucket data pool name. If option omitted the pool name will
+   be prompted during execution. Multiple pools can be supplied as a
+   space-separated double quoted list.
+
+.. option:: -t temp_directory
+
+   The tool can produce large intermediate files. By default ``/tmp``
+   is used, but if the filesystem housing ``/tmp`` doesn't have
+   sufficient free space, a different directory (on a filesystem with
+   sufficient free space) can be specified.
+
+.. option:: -m
+
+   Use two (multiple) threads to speed up the run.
+
+
+Examples
+========
+
+Launch the tool::
+
+        $ rgw-gap-list -p default.rgw.buckets.data -t /home/super_admin/temp_files
+
+Availability
+============
+
+:program:`rgw-gap-list` 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:`rgw-orphan-list <rgw-orphan-list>`\(8)