Skip to content

Commit 1030b57

Browse files
doc/rados: add bucket rename command
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 <[email protected]> Signed-off-by: Zac Dover <[email protected]>
1 parent 5504baf commit 1030b57

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)