Migrate VM to Physical machine

francisco.

Member
Sep 8, 2014
36
0
6
Madrid
Hi,

By Performance issues I have to migrate a VM to Physical machine. I think that I have to following next steps:

1º-Convert to RAW disk.
2º-Create partitions in PM.
3º-Dump image.raw to disk physical using "dd" command.

Is this correct?

Any help is welcome.

Best regards.
Francisco
 
My VM contains next "fdisk -l":

Disk /dev/sda: 5377 MB, 5377097728 bytes
255 heads, 63 sectors/track, 653 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 652 5132767+ 8e Linux LVM


Disk /dev/sdb: 1077 MB, 1077936128 bytes
34 heads, 61 sectors/track, 1015 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes


Device Boot Start End Blocks Id System
/dev/sdb1 1 1011 1048376+ 83 Linux


Disk /dev/sdc: 1077 MB, 1077936128 bytes
34 heads, 61 sectors/track, 1015 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes


Device Boot Start End Blocks Id System
/dev/sdc1 1 1011 1048376+ 83 Linux

I think that I have to delete sdb disk, sdc disk (sda disk is root partition) and move information to respective folders.

Clonezilla is a good option.

Regards.
 
Last edited:
"Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 652 5132767+ 8e Linux LVM"

This means your disk contains partitions. dd is not an option then.
 
Boot VM with clonezilla live cd.
Make image of the three disk (sda|b|c).
Resto the image to 3 differents disk.

But I think that, due to virtual disk size, a software migration will be better.
 

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!