Importing disk into proxmox

Import disk is useful when we require to import the VM running on local VM onto the proxmox & we can perform it using the following commands.

Transfering disk into proxmox server :

we can use softwares to transfer files via SFTP for GUI support & can leverage the command line utility called scp in the linux command line

scp <disk_file>.vmdk / .raw / .qcow2 root@<proxmox-ip>:/root

Once the file is transferred into the proxmox server we will make a dummy VM without any disk and use the command like utility to import the disk onto the VM in proxmox

qm importdisk <vm-ip> <disk_name> <datastore-volume>

once import is successful the disk will be assigned to the VM as unused disk & we can allocate it back to roll up the machine onto proxmox server easily.


Last updated