qmrestore problem. boot failes

humez

New Member
Sep 6, 2010
3
0
1
Poland
Hi,

I have a problem with restoreing kvm from backup using qmrestore. After starting restored machine i get a boot faile error:
Code:
Booting from Hard Disk...
Boot failed: not a bootable disk
Backups are created on the same server as they are being restored.
Whenever I restore the process seems to complete ok and my VM appears in the virtual list. Logs are also clear.


Below I attached all details:

Code:
pve-manager: 1.6-2 (pve-manager/1.6/5087)
running kernel: 2.6.32-3-pve
proxmox-ve-2.6.32: 1.6-13
pve-kernel-2.6.32-3-pve: 2.6.32-13
pve-kernel-2.6.32-2-pve: 2.6.32-8
qemu-server: 1.1-18
pve-firmware: 1.0-7
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-7
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.5-1
ksm-control-daemon: 1.0-4


Code:
cat /etc/qemu-server/101.conf 
ostype: l26
memory: 4096
sockets: 1
onboot: 1
name: guacamole
bootdisk: scsi0
scsi0: vm1:vm-101-disk-1
boot: cnd
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1
cores: 1
keyboard: pl
 
Last edited by a moderator:
do not use scsi0: for disks. use ide (or virtio). what guest OS do you have?

and you run a quite old system, upgrade.
 
i encounter exactly the same problem, but having disks configured in ide-mode!
proxmox version 1.7

Code:
pve-manager: 1.7-11 (pve-manager/1.7/5470)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.7-30
pve-kernel-2.6.32-4-pve: 2.6.32-30
qemu-server: 1.1-28
pve-firmware: 1.0-10
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-10
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.13.0-3
ksm-control-daemon: 1.0-4


Code:
name: fkxpaudit2
ide2: none,media=cdrom
vlan0: rtl8139=0A:AA:CE:7D:6E:8C
bootdisk: ide0
ostype: wxp
memory: 2048
sockets: 1
onboot: 0
cores: 2
boot: cad
freeze: 0
cpuunits: 2000
acpi: 1
kvm: 1
ide0: vm01:vm-107-disk-1

strange: vz-restores were successful, when backup is taken from the proxmox 1.5 version to the proxmox version 1.7 but not the other way around and 1.7 cannot restore its own backups!
 
Is there a way to reproduce the bug. I need exact information what you are doing. Is it possible to get the vm image where this bug occur?
 
thank you for your reply!
i took an online snapshot from a working XP/SP3 VM from the proxomx 1.7 by doing

Code:
vzdump --compress --dumpdir /mnt/pve/nfsserver/ --snapshot 107

the qmrestore command was not successful with the dumped image.

Code:
qmrestore /mnt/pve/nfsserver/vzdump-name.tgz 108

i was able to reproduce the problem several times. The strange thing about is, the working image i want to replicate was originally dumped and imported successfully from a proxmox 1.6 with exactly the same command!
on the same machine (proxmox 1.7) i also had some problems importing a linux image (centos 5.2) with selinux activated-> it was unable to mount the filesystems, while fstab was not readable during bootup. i fixed this by doing

Code:
chcon -t etc_t /etc/fstab

i'm sorry, i cannot supply the vm image!