osd_reweight
Adjust an OSD's reweight to manage cluster balance; set 0.0 to drain the OSD, and revert to prior weight as needed.
Instructions
[WRITE][risk=medium] Set an OSD's reweight (0.0 drains it). Reversible → prior weight.
Args: osd_id: Numeric OSD id (from osd_tree). weight: New reweight 0.0–1.0 (0.0 = full drain). target: Ceph target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| osd_id | Yes | ||
| target | No | ||
| weight | Yes |