mirror of
https://github.com/ceph/ceph
synced 2024-12-24 04:14:07 +00:00
doc/control.rst: add 'osd crush create-or-move ...'
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
dd9819e376
commit
babef41a06
@ -138,11 +138,16 @@ Dump the osd map. Valid formats for -f are "plain" and "json". If no
|
||||
Dump the osd map as a tree with one line per osd containing weight
|
||||
and state. ::
|
||||
|
||||
$ ceph osd crush set <id> <name> <weight> [<loc1> [<loc2> ...]]
|
||||
$ ceph osd crush set <id> <weight> [<loc1> [<loc2> ...]]
|
||||
|
||||
Add or move a new item (osd) with the given id/name/weight at the specified
|
||||
location. ::
|
||||
|
||||
$ ceph osd crush create-or-move <id> <weight> [<loc1> [<loc2> ...]]
|
||||
|
||||
Add or move a new item (osd) with the given id/name/weight at the specified
|
||||
location, but only set the weight on creation. ::
|
||||
|
||||
$ ceph osd crush remove <id>
|
||||
|
||||
Remove an existing item from the crush map. ::
|
||||
|
Loading…
Reference in New Issue
Block a user