Proxmox 6 ZFS VHDX Migration

kunstlust

Member
Sep 3, 2019
31
2
13
54
Hallo,

ich habe mit von einem HyperV ein VHDX gezogen und möchte diese gerne per qemu-img convert -O qcow2 input / output konvertieren, nur geht dies nicht, da ich die Orginale QM HD nicht finden. Scheinbar wird die nicht mehr in Filesystem eingehängt. Der Link "/dev/rpool/data/vm-100-disk-0 -> ../../zd0" hilft mir nicht so recht weiter.
Sicher kann ich nun das Irgenwie aus dem ZFS mounten, die Frage ist doch aber für mich, wie ist der elegante Weg, dies durchzuführen und warum liegt es nicht mehr direkt im Filesystem, oder war das schon immer so?
 
Lösung des Problems
Die VHDX in RAW wandel "qemu-img convert -O raw input.vhdx output.raw", danach mit dd kopieren "dd bs=1M if=output.raw of=/dev/rpool/data/vm-100-disk-0"

Eleganter ist:

qemu-img convert -p -O raw hypver-v.vhdx /dev/zvol/datapool/vm-xxx-disk-x

Problem gelöst
 
Last edited:

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!