1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-31 08:13:53 +02:00
tldr/pages/linux/qm-disk-rescan.md

17 lines
500 B
Markdown
Raw Normal View History

2025-08-06 19:08:45 +03:00
# qm disk rescan
> Rescan all storages and update disk sizes and unused disk images of virtual machines.
2025-08-06 19:08:45 +03:00
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
- Rescan all storages and update disk sizes and unused disk images:
2025-08-06 19:08:45 +03:00
`qm {{[di|disk]}} {{[resc|rescan]}}`
2025-08-06 19:08:45 +03:00
- Perform a dry-run of a rescan and do not write any changes to configurations:
2025-08-06 19:08:45 +03:00
`qm {{[di|disk]}} {{[resc|rescan]}} --dryrun`
- Specify a virtual machine by its ID:
`qm {{[di|disk]}} {{[resc|rescan]}} --vmid {{100}}`