host, assign it a weight, recompile it and set it. See `Add/Move an OSD`_ for
details. ::
- ceph osd crush set {id} {name} {weight} [{bucket-type}={bucket-name}, ...]
+ ceph osd crush set {id} {name} {weight} pool={pool-name} [{bucket-type}={bucket-name} ...]
.. topic:: Argonaut (v0.48) Best Practices
also decompile the CRUSH map edit the file, recompile it and set it. See
`Add/Move an OSD`_ for details. ::
- ceph osd crush set {id} {name} {weight} pool={pool-name} [{bucket-type}={bucket-name}, ...]
+ ceph osd crush set {id} {name} {weight} pool={pool-name} [{bucket-type}={bucket-name} ...]
Starting the OSD
To add or move an OSD in the CRUSH map of a running cluster, execute the
following::
- ceph osd crush set {id} {name} {weight} pool={pool-name} [{bucket-type}={bucket-name}, ...]
+ ceph osd crush set {id} {name} {weight} pool={pool-name} [{bucket-type}={bucket-name} ...]
Where:
:Description: You may specify the OSD's location in the CRUSH hierarchy.
:Type: Key/value pairs.
:Required: No
-:Example: ``datacenter=dc1, room=room1, row=foo, rack=bar, host=foo-bar-1``
+:Example: ``datacenter=dc1 room=room1 row=foo rack=bar host=foo-bar-1``
The following example adds ``osd.0`` to the hierarchy, or moves the OSD from a
previous location. ::
- ceph osd crush set 0 osd.0 1.0 pool=data datacenter=dc1, room=room1, row=foo, rack=bar, host=foo-bar-1
+ ceph osd crush set 0 osd.0 1.0 pool=data datacenter=dc1 room=room1 row=foo rack=bar host=foo-bar-1
Adjust an OSD's CRUSH Weight
:Description: You may specify the bucket's location in the CRUSH hierarchy.
:Type: Key/value pairs.
:Required: No
-:Example: ``datacenter=dc1, room=room1, row=foo, rack=bar, host=foo-bar-1``
+:Example: ``datacenter=dc1 room=room1 row=foo rack=bar host=foo-bar-1``
Tunables