-
- First, we have to create a new VM.
- Use the below example of VM configuration
Choose Name of the VM in General Section:
In the OS section set to Do not use any media:
In the System section, leave the default settings:
In the Disk Section please delete the default vm disk:
In the CPU section, select the value of the socket and cores for the virtual machine and you can set the default CPU type for paravirtualization or use the host for full hardware virtualization:
In the Memory Section choose value of the memory:
In the Network Secton,, leave the default settings:
In the Confirm section, check that the option Start after creation is not checked, and then Finish.
- Then copy the .vmdk file via the scp command or the SCP program to the PVE host
- Please use the following article to export a vmdk image on the VMware ESXi
How to export VMDK image from VMware ESXi ?
- Please use the following article to export a vmdk image on the VMware ESXi
- Next, it is time to convert and import the .vmdk disk to the VM that was created in Step
-
-
-
-
-
- VM ID - the vm identifier that was assigned when the vm was created
- backup-name.vmdk - the name of backup file vmdk
- disk-name - the name of disk of the location on Proxmox
-
-
-
Example command to import a sample disk into a previously prepared virtual machine in Proxmox:
qm importdisk 102 stordis-backup.vmdk local-lvm --format raw
-
-
-
- Then, we have to wait till the command completes executing.
Note : The qm importdisk command imports the disk quite quickly, but tends to stop at 100% progress for some time , so do not kill the process at this point. - After qm importdisk is finished we have to rescan disks to see the newly imported disk in the Hardware section of the VM with the following command:
qm rescan
- Next, attach the disk to the VM in the Hardware section by double-clicking on the new disk and clicking Add in the pop-up window.
- Start the VM in Proxmox.
- First, we have to create a new VM.
Congratulations!
You successfully imported a backup vmdk to the new vm in the Proxmox
You can now use your VM on the your Proxmox Server .
Happy fun with Virtualization on the Proxomox !!! 😉