Backup and restore - Failure

noPa$$word

Renowned Member
Feb 12, 2010
351
42
93
I use 2 ProxmoxServer with one NAS-Storage. I restored one vm from a snapshot to proxmox1 (the backup was from proxmox1). afterwards I migrated this vm to proxmox2.

But I cant start this vm on proxmox 2. The system says (/usr/sbin/vzctl start CT xxx):

Container config file does not exist.

On Proxmox2 under /etc/qemu-server/ the file xxx.conf exist.

What can I do?

thanks
K.W.
 
any hint in the restore log? (or backup log)
 
Here is the vzdump-log:

Jul 12 08:20:02 INFO: Starting Backup of VM 104 (qemu)
Jul 12 08:20:02 INFO: running
Jul 12 08:20:02 INFO: status = running
Jul 12 08:20:03 INFO: mode failure - unable to detect lvm volume group
Jul 12 08:20:03 INFO: trying 'suspend' mode instead
Jul 12 08:20:03 INFO: backup mode: suspend
Jul 12 08:20:03 INFO: bandwidth limit: 10240 KB/s
Jul 12 08:20:03 INFO: suspend vm
Jul 12 08:20:03 INFO: creating archive '/mnt/pve/Backup_FreeNas/vzdump-qemu-104-2010_07_12-08_20_02.tgz'
Jul 12 08:20:03 INFO: adding '/mnt/pve/Backup_FreeNas/vzdump-qemu-104-2010_07_12-08_20_02.tmp/qemu-server.conf' to archive ('qemu-server.conf')
Jul 12 08:20:03 INFO: adding '/mnt/pve/VM_Freenas/images/104/vm-104-disk-1.qcow2' to archive ('vm-disk-ide0.qcow2')
Jul 12 08:28:48 INFO: Total bytes written: 3980325376 (7.23 MiB/s)
Jul 12 08:28:49 INFO: archive file size: 2.00GB
Jul 12 08:28:49 INFO: delete old backup '/mnt/pve/Backup_FreeNas/vzdump-qemu-104-2010_07_12-07_05_01.tgz'
Jul 12 08:28:50 INFO: resume vm
Jul 12 08:28:50 INFO: vm is online again after 527 seconds
Jul 12 08:28:50 INFO: Finished Backup of VM 104 (00:08:48)

regards
K.W.
 
the backup log shows that there is no snapshot possible, therefore suspend is used. but the backup should be valid, send also the restore log.
 
I restored the backup to proxmox1. Now I can start the vm....
Which wrong I make???

regards
K.W.
 
make sure you run the latest Proxmox VE version on both nodes, run 'pveversion -v' and compare the results.
 
It's the same.....

proxmox1:
pveversion -v
pve-manager: 1.5-10 (pve-manager/1.5/4822)
running kernel: 2.6.32-2-pve
proxmox-ve-2.6.32: 1.5-7
pve-kernel-2.6.32-2-pve: 2.6.32-7
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-16
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.4-1
ksm-control-daemon: 1.0-3

proxmox2:
pveversion -v
pve-manager: 1.5-10 (pve-manager/1.5/4822)
running kernel: 2.6.32-2-pve
proxmox-ve-2.6.32: 1.5-7
pve-kernel-2.6.32-2-pve: 2.6.32-7
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-16
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.4-1
ksm-control-daemon: 1.0-3

regards
k.w.
 
After the migration to proxmox2 in "online mode" the vnc window is only "black". The vm runs, but i can't see only "black".

regards
k.w.

ps.: even a reboot of proxmox2 brought no improvement.
ps.: my NAS-Server is - "FreeBSD 7.3-RELEASE-p1 (revision 199506)"
 
Last edited:
It's KVM VMs.

regards
k.w.

ps.: when i re-migrate the vm to proxmox1 the vm run.
 
Last edited:
more questions,

  • What is the guest OS?
  • The same CPU/Mainboard on both Proxmox VE servers or are they different?
 
Both Proxmox-Computer are ident. HP DC 7800 with 8 GB RAM.
The VM are a WinServer2003 R2.

regards
k.w.
 
32 or 64 bit win2003? pls post the content of the following file, I will try to reproduce the issue here on in our test lab.

Code:
cat /etc/qemu-server/VMID.conf
 
I am currently outside the company and I will post on Wednesday.

regards
k.w.

ps.: I mean it is win2003r2 german 32bit.
 
So why is 'vzctl' involved? vzctl is only used by containers.

thats my failure. I have search in the forum and test it. i dont now, thats this is only for container.

but I cant start des kvm with server 2003r2 after migrate to proxmox2 from he gui.

regards
k.w.
 
vzctl is the command line tool for containers, qm for KVM guests.

what log do you get if you start the VM guest? (see Administration/Logs/Tasks)?
 
32 or 64 bit win2003? pls post the content of the following file, I will try to reproduce the issue here on in our test lab.

Code:
cat /etc/qemu-server/VMID.conf

I can't find /etc/qemu-server/VMVID.conf on my system.

regards
k.w.
 
I can't find /etc/qemu-server/VMVID.conf on my system.

regards
k.w.
Hi,
if your VM are kvm-guests you must find the config-files!
Code:
proxmox1:~# ls /etc/qemu-server
101.conf  106.conf  112.conf  116.conf  120.conf  121.conf.sav  123.conf  126.conf  128.conf  130.conf  133.conf
104.conf  107.conf  114.conf  118.conf  121.conf  122.conf      124.conf  127.conf  129.conf  131.conf  134.conf

Udo
 
Sorry, I was locking for "VMVID.conf".

Here is 104.conf before migrate on proxmox1

name: Server2003R2
ide2: local:iso/de_win_srv_2003_r2_enterprise_cd2.iso,media=cdrom
bootdisk: ide0
ostype: w2k3
ide0: VM_Freenas:104/vm-104-disk-1.qcow2
memory: 1024
onboot: 1
sockets: 1
boot: dc
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1
cores: 2
vlan1: rtl8139=32:F9:D3:FC:7A:6B

here is 104.conf after migrate on proxmox2

name: Server2003R2
ide2: local:iso/de_win_srv_2003_r2_enterprise_cd2.iso,media=cdrom
bootdisk: ide0
ostype: w2k3
ide0: VM_Freenas:104/vm-104-disk-1.qcow2
memory: 1024
onboot: 1
sockets: 1
boot: dc
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1
cores: 2
vlan1: rtl8139=32:F9:D3:FC:7A:6B

And here ist a "ls -al" from /etc/qemu-server/ on proxmox2

drwxr-xr-x 2 root root 4096 Jul 14 08:45 .
drwxr-xr-x 75 root root 4096 Jul 14 08:43 ..
-rw-r--r-- 1 root root 283 Jul 14 08:44 104.conf


regards
k.w.
 
Last edited:

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!