KVM with QCOW2 wont start after reboot

sunghost

Renowned Member
May 27, 2011
169
1
83
Hello,
i use latest pve-manager/3.3-5/bfebec03 (running kernel: 3.10.0-1-pve). i have a kvm with qcow2 disk which runs since installation without problems. i know have to reboot this vm and run into trouble. Message in boot: trying to mount root from ufs:/dev/ad0s1a - warning. / was not proberly dismounted - / bad dir ino 23590 at offset 0: mangled entry - cant exec /bin/sh ...

looks like the image is corrupt - any idea ?
 
Hello,
i use latest pve-manager/3.3-5/bfebec03 (running kernel: 3.10.0-1-pve). i have a kvm with qcow2 disk which runs since installation without problems. i know have to reboot this vm and run into trouble. Message in boot: trying to mount root from ufs:/dev/ad0s1a - warning. / was not proberly dismounted - / bad dir ino 23590 at offset 0: mangled entry - cant exec /bin/sh ...

looks like the image is corrupt - any idea ?

Hi,
on what kind of storage is the image? Not the same, but I have an lvm-storage with bigger blocksize on underlying raid, where the VMs don't start with "cache=none". cache=writethrough run without trouble.

Have you tried, to check your image? with
Code:
qemu-img check /path/to/qcow2-file
Udo
 
Hello Udo,
its a single disk and all is on that. The check reports:
40961 leaked clusters were found on the image.
This means waste of disk space, but no harm to data.
65536/65536 = 100.00% allocated, 0.65% fragmented, 0.00% compressed clusters
Image end offset: 4370006016

so it looks good. But i cant reboot? How could i solve this?