Migrate VM (Virtio on LVM-Proxmox 1.9) to VM (Virtio on NFS Proxmox 2.0)

abkrim

Well-Known Member
Sep 5, 2009
97
1
48
Zamora (España)
castris.com
Hi.

If several machines on 1.9 and like move to Proxmox 2.0
All KVM VPS are over LVM disk, using virtio and format raw.

Like move to proxmox 2.0 with a NFS over NAS-HA.

I try use this (kvm machine it's stopped during dd command)

dd if=/dev/VZ005/vm-412-disk-1 of=/mnt/pve/nas01001/images/412/vm-412-disk-1.raw

On Proxmox 2.0 create a virtual machine wiht same name, VID,... etc..

But when try to up KVM on new Proxmox fail...

Code:
Apr  3 07:45:53 ns231231 pvedaemon[23742]: start VM 412: UPID:ns231231:00005CBE:000A42FC:4F7A8E91:qmstart:412:root@pam:Apr  3 07:45:53 ns231231 pvedaemon[22878]: <root@pam> starting task UPID:ns231231:00005CBE:000A42FC:4F7A8E91:qmstart:412:root@pam:
Apr  3 07:45:53 ns231231 pvedaemon[23742]: start failed: command '/usr/bin/kvm -id 412 -chardev 'socket,id=monitor,path=/var/run/qemu-server/412.mon,server,nowait' -mon 'chardev=monitor,mode=readline' -vnc unix:/var/run/qemu-server/412.vnc,x509,password -pidfile /var/run/qemu-server/412.pid -daemonize -usbdevice tablet -name kvm412.islaserver.com -smp 'sockets=1,cores=1' -nodefaults -boot 'menu=on' -vga cirrus -k en-gb -drive 'if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/mnt/pve/nas01001/images/412/vm-412-disk-1.raw,if=none,id=drive-virtio0,aio=native,cache=none' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100' -m 1024 -netdev 'type=tap,id=net0,ifname=tap412i0,script=/var/lib/qemu-server/pve-bridge' -device 'rtl8139,mac=02:00:00:A8:F2:2C,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1
Apr  3 07:45:53 ns231231 pvedaemon[22878]: <root@pam> end task UPID:ns231231:00005CBE:000A42FC:4F7A8E91:qmstart:412:root@pam: start failed: command '/usr/bin/kvm -id 412 -chardev 'socket,id=monitor,path=/var/run/qemu-server/412.mon,server,nowait' -mon 'chardev=monitor,mode=readline' -vnc unix:/var/run/qemu-server/412.vnc,x509,password -pidfile /var/run/qemu-server/412.pid -daemonize -usbdevice tablet -name kvm412.islaserver.com -smp 'sockets=1,cores=1' -nodefaults -boot 'menu=on' -vga cirrus -k en-gb -drive 'if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/mnt/pve/nas01001/images/412/vm-412-disk-1.raw,if=none,id=drive-virtio0,aio=native,cache=none' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100' -m 1024 -netdev 'type=tap,id=net0,ifname=tap412i0,script=/var/lib/qemu-server/pve-bridge' -device 'rtl8139,mac=02:00:00:A8:F2:2C,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1

I'm lost..
 

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!