2025-08-06 19:08:45 +03:00
|
|
|
# qm disk rescan
|
|
|
|
|
2025-08-25 18:28:46 +00:00
|
|
|
> 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>.
|
|
|
|
|
2025-08-25 18:28:46 +00:00
|
|
|
- Rescan all storages and update disk sizes and unused disk images:
|
2025-08-06 19:08:45 +03:00
|
|
|
|
2025-08-25 18:28:46 +00:00
|
|
|
`qm {{[di|disk]}} {{[resc|rescan]}}`
|
2025-08-06 19:08:45 +03:00
|
|
|
|
2025-08-25 18:28:46 +00:00
|
|
|
- Perform a dry-run of a rescan and do not write any changes to configurations:
|
2025-08-06 19:08:45 +03:00
|
|
|
|
2025-08-25 18:28:46 +00:00
|
|
|
`qm {{[di|disk]}} {{[resc|rescan]}} --dryrun`
|
|
|
|
|
|
|
|
- Specify a virtual machine by its ID:
|
|
|
|
|
|
|
|
`qm {{[di|disk]}} {{[resc|rescan]}} --vmid {{100}}`
|