Proxmox Image convert & Raw Mounting

z3ref

New Member
Oct 15, 2019
2
0
1
28
Hi,
had a hard time finding how to mount raw image and convert vmdk images. Just want to share it here


1. qemu-img convert IMAGENAME.VHDX -O qcow2 /var/lib/vz/images/VMID#/vm-100-disk-0.qcow2
sample: qemu-img convert IMAGENAME.VHDX -O qcow2 /var/lib/vz/images/100/vm-100-disk-0.qcow2

2.Config: qm set <vmid> -ide# /dev/sdb
sample: qm set 100 -ide1 /dev/sdb
 
You can also use qm importdisk to directly import it to an existing VM as unused disk.