LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

qm-rescan

Rescan Proxmox VM storage volumes

TLDR

Rescan all storages and update disk sizes for all VMs
$ qm rescan
copy
Rescan storage for a specific VM
$ qm rescan --vmid [100]
copy
Perform a dry run without writing changes
$ qm rescan --dryrun 1
copy
This command is an alias of qm disk rescanView documentation for the original command
$ tldr qm disk
copy

SYNOPSIS

qm rescan [options]

DESCRIPTION

qm rescan is an alias for qm disk rescan that rescans all storages and updates disk sizes and unused disk images for virtual machines. When run without --vmid, it rescans storage for all VMs on the node.

PARAMETERS

--dryrun boolean

Execute a test run without writing changes to VM configurations (default: 0).
--vmid integer
The unique ID of the VM (100-999999999). If omitted, all VMs are rescanned.

SEE ALSO

qm(1), qm-disk(1), pvesm(1)

Copied to clipboard
Kai