[SOLVED] Can't start VM after migration

Tim Stoffel

New Member
Dec 19, 2017
4
1
1
30
Germany
Hello,

i migrate a kvm vm to my proxmox cluster:
I create the vm in the web gui and changed the image.

If i start the vm i get this error:
Code:
kvm: -drive file=/mnt/pve/nas-006-nfs-001/images/112/vm-112-disk-1.qcow2,if=none,id=drive-virtio0,cache=writethrough,format=qcow2,aio=threads,detect-zeroes=on: Could not open backing file: Could not open '/mnt/pve/nas-006-nfs-001/images/112/../101/base-101-disk-1.qcow2': No such file or directory
TASK ERROR: start failed: command '/usr/bin/kvm -id 112 -chardev 'socket,id=qmp,path=/var/run/qemu-server/112.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/112.pid -daemonize -smbios 'type=1,uuid=6769cdc9-7f1e-4a40-94e8-7ed022eb3691' -name Win7codeBeamer -smp '2,sockets=1,cores=2,maxcpus=2' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga std -vnc unix:/var/run/qemu-server/112.vnc,x509,password -no-hpet -cpu 'kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,enforce' -m 4096 -k de -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:65ffe2f35edb' -drive 'if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/mnt/pve/nas-006-nfs-001/images/112/vm-112-disk-1.qcow2,if=none,id=drive-virtio0,cache=writethrough,format=qcow2,aio=threads,detect-zeroes=on' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap112i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=06:81:C4:5A:BF:15,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -rtc 'driftfix=slew,base=localtime' -global 'kvm-pit.lost_tick_policy=discard'' failed: exit code 1

I don't understand the problem, the path seems strange to me.


I checked the permissions:
Code:
root@smoxx-003:/mnt/pve/nas-006-nfs-001/images/112# ls -l
total 15780480
-rwxrwxrwx 1 1024 users 16159211520 Jan 25  2015 vm-112-disk-1.qcow2

Can enybody help me to resolve this issue?

Thanks
 
how does your vm config look ?
 
Could not open backing file: Could not open '/mnt/pve/nas-006-nfs-001/images/112/../101/base-101-disk-1.qcow2': No such file or directory
this error means it looks for the backing file of the qcow2, most probably because the vm was a linked clone

how did you migrate that vm to you proxmox ve machine?
 

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!