set_pool_size
Adjust a Ceph pool's replica size with preview and reversible changes, triggering data movement on live pools under governed approval.
Instructions
[WRITE][risk=high] Set a pool's replica size — forces mass data movement on a live pool.
Pass dry_run=True to preview. Requires an approver (set CEPH_AUDIT_APPROVED_BY) under the graduated-autonomy policy. Reversible → prior size.
Args: pool_name: Pool name (from pool_ls). size: New replica count. dry_run: If True, preview without changing the size. target: Ceph target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | ||
| target | No | ||
| dry_run | No | ||
| pool_name | Yes |