Proxmox full clone will not boot: A disk read error occurred

David Fisher

Member
Nov 3, 2016
14
0
21
51
I created a virtual machine in Proxmox which was Windows Server 2008 R2 using a raw disk format.

After installing, running updates etc & configuring the VM, I converted it into a template.

Now every time I create a full clone from this template the resulting VM will not boot. All I'm getting is a black screen with "A disk read error occurred Press Ctrl+Alt+Del to restart"

If I create a linked clone, this will work.

I don't understand what I've done wrong here, and I really don't want to start over building a new template as it took all day to get Windows updated and configured.
 
root@proxmox:/etc# pveversion -v
proxmox-ve: 4.3-66 (running kernel: 4.4.19-1-pve)
pve-manager: 4.3-1 (running version: 4.3-1/e7cdc165)
pve-kernel-4.4.19-1-pve: 4.4.19-66
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-46
qemu-server: 4.0-88
pve-firmware: 1.1-9
libpve-common-perl: 4.0-73
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-61
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-qemu-kvm: 2.6.1-6
pve-container: 1.0-75
pve-firewall: 2.0-29
pve-ha-manager: 1.0-35
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.4-1
lxcfs: 2.0.3-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
zfsutils: 0.6.5.7-pve10~bpo80



root@proxmox:/var/log/pve/tasks# cat ./B/UPID\:proxmox\:0000699E\:023FF539\:5821810B\:qmclone\:102\:root@pam\:
create full clone of drive scsi0 (data:102/base-102-disk-1.qcow2)
Formatting '/datastore/images/110/vm-110-disk-1.raw', fmt=raw size=34359738368
transferred: 0 bytes remaining: 34359738368 bytes total: 34359738368 bytes progression: 0.00 %
transferred: 388265043 bytes remaining: 33971473325 bytes total: 34359738368 bytes progression: 1.13 %
transferred: 752478270 bytes remaining: 33607260098 bytes total: 34359738368 bytes progression: 2.19 %
transferred: 1120127470 bytes remaining: 33239610898 bytes total: 34359738368 bytes progression: 3.26 %
transferred: 1484340697 bytes remaining: 32875397671 bytes total: 34359738368 bytes progression: 4.32 %
transferred: 1848553924 bytes remaining: 32511184444 bytes total: 34359738368 bytes progression: 5.38 %


transferred: 31799937859 bytes remaining: 2559800509 bytes total: 34359738368 bytes progression: 92.55 %
transferred: 32164151086 bytes remaining: 2195587282 bytes total: 34359738368 bytes progression: 93.61 %
transferred: 32528364312 bytes remaining: 1831374056 bytes total: 34359738368 bytes progression: 94.67 %
transferred: 32896013513 bytes remaining: 1463724855 bytes total: 34359738368 bytes progression: 95.74 %
transferred: 33260226740 bytes remaining: 1099511628 bytes total: 34359738368 bytes progression: 96.80 %
transferred: 33624439966 bytes remaining: 735298402 bytes total: 34359738368 bytes progression: 97.86 %
transferred: 33992089167 bytes remaining: 367649201 bytes total: 34359738368 bytes progression: 98.93 %
transferred: 34356302394 bytes remaining: 3435974 bytes total: 34359738368 bytes progression: 99.99 %
transferred: 34359738368 bytes remaining: 0 bytes total: 34359738368 bytes progression: 100.00 %
transferred: 34359738368 bytes remaining: 0 bytes total: 34359738368 bytes progression: 100.00 %
TASK OK

 
Something else interesting I noted. If I run 'file' against the clone image:


root@proxmox:/datastore/images/104# file base-104-disk-1.raw
base-104-disk-1.raw: DOS/MBR boot sector MS-MBR Windows 7 english at offset 0x163 "Invalid partition table" at offset 0x17b "Error loading operating system" at offset 0x19a "Missing operating system", disk signature 0xc56623c1; partition 1 : ID=0x7, active, start-CHS (0x0,32,33), end-CHS (0xc,223,19), startsector 2048, 204800 sectors; partition 2 : ID=0x7, start-CHS (0xc,223,20), end-CHS (0x3ff,254,63), startsector 206848, 66899968 sectors


Maybe something happened when it was converted to a template, can't explain why a linked clone works though
 
Just to add to this - I just started over creating another Win 2008 R2 machine and even if I dont convert to template first and simply clone, the clone will not boot. Looks like some problem using raw disk format on Win 2008 R2
 
Something else interesting I noted. If I run 'file' against the clone image:


root@proxmox:/datastore/images/104# file base-104-disk-1.raw
base-104-disk-1.raw: DOS/MBR boot sector MS-MBR Windows 7 english at offset 0x163 "Invalid partition table" at offset 0x17b "Error loading operating system" at offset 0x19a "Missing operating system", disk signature 0xc56623c1; partition 1 : ID=0x7, active, start-CHS (0x0,32,33), end-CHS (0xc,223,19), startsector 2048, 204800 sectors; partition 2 : ID=0x7, start-CHS (0xc,223,20), end-CHS (0x3ff,254,63), startsector 206848, 66899968 sectors


Maybe something happened when it was converted to a template, can't explain why a linked clone works though

I don't think these are meaning a bad image.
Seems to be some phrases in the boot loader.
 

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!