Run Scrub
run_scrubStarts a ZFS scrub on a TrueNAS pool to detect and repair data errors. Use dry_run to preview the operation before running it.
Instructions
Run a ZFS scrub on a pool.
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>"
},
"name": "run_scrub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview only (default True); set False to run. | |
| pool_name | Yes | Pool name, e.g. "tank". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |