CmdID

CmdID / Commands

qemu-img

Create and manipulate Quick Emulator Virtual HDD images. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create disk image with a specific size (in gigabytes)

qemu-img create path/to/image_file.img gigabytesGIdentify

Show information about a disk image

qemu-img info path/to/image_file.imgIdentify

Increase or decrease image size

qemu-img resize path/to/image_file.img gigabytesGIdentify

Dump the allocation state of every sector of the specified disk image

qemu-img map path/to/image_file.imgIdentify

Convert a VMware .vmdk disk image to a KVM .qcow2 disk image and display progress

qemu-img convert -f vmdk -O qcow2 -p path/to/image_file.vmdk path/to/image_file.qcow2Identify

create an internal snapshot of a KVM .qcow2 disk image

qemu-img snapshot -c snapshot_tag_name path/to/image_file.qcow2Identify

apply an internal snapshot to a KVM .qcow2 disk image

qemu-img snapshot -a snapshot_tag_name path/to/image_file.qcow2Identify