1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:02:09 +02:00
tldr/pages/linux/qm-disk-import.md
farhan khan 178ec5d5c1
qm-disk-import: add page; qm-importdisk: add alias page (#10499)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-07-19 19:03:39 +02:00

408 B

qm disk import

Import a disk image to a virtual machine as an unused disk. The supported image formats for qemu-img, such as raw, qcow2, qed, vdi, vmdk, and vhd must be used. More information: https://pve.proxmox.com/pve-docs/qm.1.html.

  • Import a VMDK/qcow2/raw disk image using a specific storage name:

qm importdisk {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}