KVM with QCOW2 wont start after reboot

sunghost

Active Member
May 27, 2011
168
1
38
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?
 

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!