Skip to content

Commit 0e36423

Browse files
authored
Merge pull request ceph#57016 from zdover23/wip-doc-2024-04-21-rados-operations-crush-map
doc/rados: add bucket rename command Reviewed-by: Anthony D'Atri <[email protected]>
2 parents fffbab1 + 1030b57 commit 0e36423

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/rados/operations/crush-map.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,16 @@ For details on this command's parameters, see the following:
514514
:Required: No
515515
:Example: ``datacenter=dc1 room=room1 row=foo rack=bar host=foo-bar-1``
516516

517+
Renaming a bucket
518+
-----------------
519+
520+
To rename a bucket while maintaining its position in the CRUSH map hierarchy,
521+
run a command of the following form:
522+
523+
.. prompt:: bash #
524+
525+
ceph osd crush rename-bucket {oldname} {newname}
526+
517527
Removing a Bucket
518528
-----------------
519529

0 commit comments

Comments
 (0)