mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
611 B
Plaintext
22 lines
611 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# qm disk rescan
|
|
|
|
> Rescan all storages and update disk sizes and unused disk images of virtual machines.
|
|
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_disk_rescan>.
|
|
|
|
- Rescan all storages and update disk sizes and unused disk images:
|
|
|
|
`qm {{[di|disk]}} {{[resc|rescan]}}`
|
|
|
|
- Perform a dry-run of a rescan and do not write any changes to configurations:
|
|
|
|
`qm {{[di|disk]}} {{[resc|rescan]}} --dryrun`
|
|
|
|
- Specify a virtual machine by its ID:
|
|
|
|
`qm {{[di|disk]}} {{[resc|rescan]}} --vmid {{100}}`
|