Although this is an old thread, I wanted to leave this useful tidbit:
# The help command is informative
$ qm help rescan
USAGE: qm rescan [OPTIONS]
Rescan all storages and update disk sizes and unused disk images.
-dryrun <boolean> (default=0)
Do not actually write...