]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados: add bucket rename command 57016/head
authorZac Dover <zac.dover@proton.me>
Sun, 21 Apr 2024 12:46:18 +0000 (22:46 +1000)
committerZac Dover <zac.dover@proton.me>
Mon, 22 Apr 2024 06:16:54 +0000 (16:16 +1000)
Add "ceph osd crush rename bucket" command. This commit is made in
response to a request from Michele Giacomoli.

Fixes: https://tracker.ceph.com/issues/65599
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
doc/rados/operations/crush-map.rst

index 1c68a2a181b82ae14f9b4b21136d2f530b0f3906..1a8dc36cb0b939753f4a1e3bf7d5a91604711d25 100644 (file)
@@ -514,6 +514,16 @@ For details on this command's parameters, see the following:
    :Required: No
    :Example: ``datacenter=dc1 room=room1 row=foo rack=bar host=foo-bar-1``
 
+Renaming a bucket
+-----------------
+
+To rename a bucket while maintaining its position in the CRUSH map hierarchy,
+run a command of the following form:
+
+.. prompt:: bash #
+
+   ceph osd crush rename-bucket {oldname} {newname}
+
 Removing a Bucket
 -----------------