Hyper-V to XCP-ng
-
We have a Hyper-V server with 3 VMs. The client has finally given us the green light to upgrade the ancient hardware and also migrate to XCP-ng. Yay!
However we are having difficulty. We have exported one VM's VHD and are trying to import it into XO. We have set up a temporary network share for the purpose of making the VHD available. Here are the steps we are trying to follow:
- Copy the VHD onto the network share.
- Create a VM in xcp-ng with no disks.
- Attach the VHD to the new VM.
- Move the new VM's disk to local storage.
Any guidance or tips or guides on migrating from Hyper-V to xcp-ng would be great.
I have one question about all this though: The xcp-ng host is set up to use LVM. Given that VHDs are used in EXT mode, is the fact that we have xcp-ng with LVM set up possibly what is causing us problems with using VHDs?
-
Hi,
2 options:
- If not done yet, take a look at https://docs.xcp-ng.org/installation/migrate-to-xcp-ng/#from-hyper-v
- If you want dedicated assistance on your migration, you can ask at https://vates.tech/contact
About VHDs and LVM: it will be harder, because it means you'll have to inject the VHD inside the logical volume instead of just dropping the right VHD file into the folder with ext.
-
Like @olivierlambert mentioned it would be best to go with ext instead of LVM, makes the migration process a lot easier.
I've gone through a similar migration and it was super smooth using ext.
-