Proxmox Image convert & Raw Mounting

z3ref

New Member
Oct 15, 2019
2
0
1
27
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!