set_pool_pg_num
Set a Ceph pool's placement-group count (pg_num) to meet capacity or performance needs; revert to the prior count if necessary.
Instructions
[WRITE][risk=medium] Set a pool's pg_num. Reversible → prior pg_num.
Args: pool_name: Pool name (from pool_ls). pg_num: New placement-group count. 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": {
"pool_name": "<pool_name>",
"pg_num": "<pg_num>"
},
"name": "set_pool_pg_num"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pg_num | Yes | ||
| target | No | ||
| pool_name | Yes |