doc/control.rst: add 'osd crush create-or-move ...'

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2012-09-11 09:43:37 -07:00
parent dd9819e376
commit babef41a06

View File

@ -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. ::