1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-10 16:35:43 +02:00
tldr/pages/linux/qm-disk-rescan.md
2025-08-06 21:38:45 +05:30

12 lines
455 B
Markdown

# qm disk rescan
> Rescan all storages and update disk sizes and unused disk images of a virtual machine.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
- Rescan all storages and update disk sizes and unused disk images of a specific virtual machine:
`qm disk rescan {{vm_id}}`
- Perform a dry-run of rescan on a specific virtual machine and do not write any changes to configurations:
`qm disk rescan --dryrun {{true}} {{vm_id}}`