Hi,
Since I set up the automatic backup of one of my VMs, the backup has not been consistent : every two days it will fail with "exit code 1" and no more explanation. And some times (not very often), it will work for 3-4 days in a row and then, fail again.
My configuration :
- vm-100 : disk qcow2 of 500GB (only 350GB used)
- backup on external disk of 1TB
- backup is launched every night at 10pm
Error :
I've read all the 10 pages of search for backup failed but did not find any answer for this problem.
Exit code 1 is not very explicit for me.
I have found that the error might be from "Failed to create message: Input/output error" but cannot find how to correct this.
Do you any ideas for what happen here ?
What can I do to investigate further ?
Thanks for your help !
Since I set up the automatic backup of one of my VMs, the backup has not been consistent : every two days it will fail with "exit code 1" and no more explanation. And some times (not very often), it will work for 3-4 days in a row and then, fail again.
My configuration :
- vm-100 : disk qcow2 of 500GB (only 350GB used)
- backup on external disk of 1TB
- backup is launched every night at 10pm
Error :
Code:
INFO: starting new backup job: vzdump 100 --quiet 1 --storage usbext --mode stop --node proxmox --mailnotification always --compress lzo
INFO: Starting Backup of VM 100 (qemu)
INFO: status = running
INFO: update VM 100: -lock backup
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: stopping vm
INFO: creating archive '/mnt/usbext/dump/vzdump-qemu-100-2018_01_09-22_00_01.vma.lzo'
INFO: starting kvm to execute backup task
Failed to create message: Input/output error
INFO: restarting vm
INFO: Running as unit 100.scope.
INFO: vm is online again after 18 seconds
ERROR: Backup of VM 100 failed - start failed: command '/usr/bin/systemd-run --scope --slice qemu --unit 100 -p 'KillMode=none' -p 'CPUShares=1000' /usr/bin/kvm -id 100 -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -vnc unix:/var/run/qemu-server/100.vnc,x509,password -pidfile /var/run/qemu-server/100.pid -daemonize -smbios 'type=1,uuid=cf96afde-b787-4085-8667-7ad21e7ee966' -name ServeurW -smp '4,sockets=1,cores=4,maxcpus=4' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000' -vga std -no-hpet -cpu 'kvm64,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_relaxed,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce' -m 8192 -k fr -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -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:f1eed394ec66' -device 'ahci,id=ahci0,multifunction=on,bus=pci.0,addr=0x7' -drive 'file=/var/lib/vz/images/100/vm-100-disk-1.qcow2,if=none,id=drive-sata0,format=qcow2,cache=none,aio=native,detect-zeroes=on' -device 'ide-drive,bus=ahci0.0,drive=drive-sata0,id=sata0,bootindex=100' -drive 'file=/var/lib/vz/template/iso/SW_DVD9_NTRL_Win_Svr_Essentials_2012_R2_64Bit_French_-2_FPP_VL_OEM_X19-83577.ISO,if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e1000,mac=66:62:64:39:64:31,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -rtc 'driftfix=slew,base=localtime' -global 'kvm-pit.lost_tick_policy=discard' -S' failed: exit code 1
INFO: Backup job finished with errors
TASK ERROR: job errors
I've read all the 10 pages of search for backup failed but did not find any answer for this problem.
Exit code 1 is not very explicit for me.
I have found that the error might be from "Failed to create message: Input/output error" but cannot find how to correct this.
Do you any ideas for what happen here ?
What can I do to investigate further ?
Thanks for your help !
Last edited: