qm-disk
Manage disk images. tldr-pages
On Linux
Linux
Add n gigabytes to a virtual disk
qm [di [resi 100 disk_name +nGIdentifyMove a virtual disk
qm [di [m 100 scic0 destination_storage_nameIdentifyDelete the previous copy of the virtual disk
qm [di [m 100 scic0 destination_storage_name --deleteIdentifyImport a VMDK/.qcow2/raw disk image using a specific storage name
qm [di [i 100 path/to/disk storage_name --format qcow2IdentifyRescan all storages and update disk sizes and unused disk images
qm [di [rescIdentifySimulate a rescan without writing any changes to configurations
qm [di [resc --dryrunIdentifySpecify a virtual machine by its ID
qm [di [resc --vmid 100IdentifyDelete a disk
qm [di [u 100 --idlist unused0,unused1,scsi1,...Identify