Perform a dry-run of rescan on a specific virtual machine and do not write any changes to configurations

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>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

qm rescan --dryrun {{true}} {{vm_id}}

click the source code to copy