osd_mark_out
Mark a Ceph OSD as 'out' to drain its data. Use dry_run to preview; requires approval for destructive operation.
Instructions
[WRITE][risk=high] Mark an OSD 'out' — drains its data (recovery storm / min_size risk).
Destructive to redundancy — pass dry_run=True to preview. Requires an approver (set CEPH_AUDIT_APPROVED_BY) under the graduated-autonomy policy.
Args: osd_id: Numeric OSD id (from osd_tree). dry_run: If True, preview without marking out. target: Ceph target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| osd_id | Yes | ||
| target | No | ||
| dry_run | No |