osd_purge
Permanently destroy a Ceph OSD, remove it from CRUSH, and delete its auth credentials. Preview with dry_run; drain and verify active+clean first.
Instructions
[WRITE][risk=high] Purge an OSD (destroy + crush rm + auth del). Irreversible.
Pass dry_run=True to preview. Drain first (osd_reweight 0 → mark out → wait active+clean) before purging.
Args: osd_id: Numeric OSD id (from osd_tree). dry_run: If True, preview without purging. target: Ceph target name from config; omit for the default.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"osd_id": "<osd_id>"
},
"name": "osd_purge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| osd_id | Yes | ||
| target | No | ||
| dry_run | No |