Files
cheatsheet-tldr/tldr/linux/qm-rescan

18 lines
532 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# qm 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 rescan {{vm_id}}`
- Perform a dry-run of rescan on a specific virtual machine and do not write any changes to configurations:
`qm rescan --dryrun {{true}} {{vm_id}}`