sr_rescan
Rescan a storage repository (SR) to refresh its metadata. Use dry-run to preview the operation without applying changes.
Instructions
[WRITE][risk=medium] Rescan an SR (metadata refresh — no data change, no undo).
Lowest-impact write in this tool, but a write nonetheless: it refreshes SR
metadata and records no undo (there is no prior state to restore).
Args:
sr_id: SR uuid (see sr_list).
dry_run: If True, preview without rescanning.
target: Xen Orchestra target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sr_id | Yes | ||
| target | No | ||
| dry_run | No |