I'm just curious if this is a known bug with the latest release? I've performed about 10 vgdump --snapshot and qmrestores today testing backup/restore functionality for LVM based linux KVM guests and about 30% of the time the restored guest will fail to boot citing no bootable device even though the logical volume was re-created. Console output between a failed and successful backup/restore is identical so nothing appears to be going wrong. Is anyone else experiencing this? I REALLY want to get started using proxmox + KVM i've spent probably 20 hours the last 2 days trying to figure out this issue to no avail and its driving me insane. Without a rock solid snapshot backup solution there's no way i can proceed and i don't understand how anyone else does? Thanks for any help!
deleted the machine from proxmox, and performed a restore:
lvdisplay shows the logical volume was recreated after the restore:
However the vm boots to the same "No bootable device."
Any help is greatly appreciated!
Code:
vzdump --dumpdir /mnt/backup/ --snapshot 102
Code:
qmrestore /mnt/backup/vzdump-qemu-102-2011_03_19-23_38_58.tar 102
INFO: restore QemuServer backup '/mnt/backup/vzdump-qemu-102-2011_03_19-23_38_58.tar' using ID 102
INFO: extracting 'qemu-server.conf' from archive
INFO: extracting 'vm-disk-virtio0.raw' from archive
INFO: Rounding up size to full physical extent 15.00 GB
INFO: Logical volume "vm-102-disk-1" created
INFO: new volume ID is 'storage:vm-102-disk-1'
INFO: restore data to '/dev/storage/vm-102-disk-1' (16106127360 bytes)
INFO: 19+564713 records in
INFO: 19+564713 records out
INFO: 16106127360 bytes (16 GB) copied, 608.375 s, 26.5 MB/s
INFO: restore QemuServer backup '/mnt/backup/vzdump-qemu-102-2011_03_19-23_38_58.tar' successful
Code:
--- Logical volume ---
LV Name /dev/storage/vm-102-disk-1
VG Name storage
LV UUID T0tVOl-e6J5-Kz1B-J8CQ-Fkf8-QbVl-KYquZW
LV Write Access read/write
LV Status available
# open 0
LV Size 15.00 GB
Current LE 3841
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:3
Any help is greatly appreciated!