Migrate KVM to Proxmox PVE

From RARFORGE
Jump to: navigation, search

 RARforge :: Migrate KVM to Proxmox PVE

Info

[WIP]

raw info

  • Source: LVM backed raw disk
  • Disk: /dev/drbd_hoplex-ha/hoplex-ha
  • Create Snapshot and Dump Image
/sbin/lvcreate -c 512 -p r -s -n /dev/drbd_hoplex-ha/hoplex-ha_1405799884 -L 1G /dev/drbd_hoplex-ha/hoplex-ha
dd if=/dev/drbd_hoplex-ha/hoplex-ha_1405799884 of=/raid/PVEmigrate/hoplex-ha/hoplex-ha_hoplex-ha__1405799884.img
  • obtain the raw image size
qemu-img info /raid/PVEmigrate/hoplex-ha/hoplex-ha_hoplex-ha__1405799884.img
image: /raid/PVEmigrate/hoplex-ha/hoplex-ha_hoplex-ha__1405799884.img
file format: raw
virtual size: 260G (279172874240 bytes)
disk size: 260G
  • create a VM with the required LVM size
  • one the VM LV is created.. dd=<your image> of=new_lvm_device bs=1m
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox