Setting CRUSH weights of OSDs
Set CRUSH weights in terabytes with a CRUSH map.
To set an OSD CRUSH weight in terabytes within the CRUSH map, run the following command, with the value information provided in Table 1:
ceph osd crush reweight NAME WEIGHT
| Value | Description | Type | Required | Example |
|---|---|---|---|---|
name |
The full name of the OSD. | String | Yes. | osd.0 |
weight |
The CRUSH weight for the OSD. This should be the size of the OSD in Terabytes, where
1.0 is 1 Terabyte.Note: This setting is used when creating an OSD or adjusting the
CRUSH weight immediately after adding the OSD. It usually does not change over the life of the
OSD. |
Double | Yes. | 2.0 |