kvm locks up when out of disk space

Bug #789831 reported by Michal Suchanek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Invalid
Undecided
Unassigned
qemu-kvm (Debian)
Fix Released
Unknown

Bug Description

Running a VM using raw sparse disk image on kvm 0.14 on Debian.

When disk writes use up all disk space kvm locks up.

if it cannot handle this situation gracefully (eg suspend the VM until space becomes available) it should at the very least report an error and exit, not keep sitting there.

Revision history for this message
Michael Tokarev (mjt+launchpad-tls) wrote :

I already replied to the OP in the Debian bug tracking system, and closed his bug there, see http://bugs.debian.org/628152 .

Changed in qemu:
status: New → Invalid
Revision history for this message
Stefan Hajnoczi (stefanha) wrote : Re: [Qemu-devel] [Bug 789831] [NEW] kvm locks up when out of disk space

On Sun, May 29, 2011 at 11:48 AM, Michal Suchanek <email address hidden> wrote:
> Public bug reported:
>
> Running a VM using raw sparse disk image on kvm 0.14 on Debian.
>
> When disk writes use up all disk space kvm locks up.
>
> if it cannot handle this situation gracefully (eg suspend the VM until
> space becomes available) it should at the very least report an error and
> exit, not keep sitting there.

Actually it should pause the VM - are you sure that KVM is "locking
up"? If you run with SDL the window title says "[Stopped]" and you
can resume the VM with the "c" (continue) QEMU monitor command once
you've rectified the storage shortage.

Are you using libvirt (virsh/virt-manager)?

What makes you think that KVM is locked up?

How much CPU is the qemu-kvm process consuming?

Stefan

Revision history for this message
Michal Suchanek (hramrach) wrote :

On 29 May 2011 13:33, Stefan Hajnoczi <email address hidden> wrote:
> On Sun, May 29, 2011 at 11:48 AM, Michal Suchanek <email address hidden> wrote:
>> Public bug reported:
>>
>> Running a VM using raw sparse disk image on kvm 0.14 on Debian.
>>
>> When disk writes use up all disk space kvm locks up.
>>
>> if it cannot handle this situation gracefully (eg suspend the VM until
>> space becomes available) it should at the very least report an error and
>> exit, not keep sitting there.
>
> Actually it should pause the VM - are you sure that KVM is "locking
> up"?  If you run with SDL the window title says "[Stopped]" and you

Unfortunately, the window title is not visible at all times so even if
it says [Stopped] it is not useful indication of the VM state.

> can resume the VM with the "c" (continue) QEMU monitor command once
> you've rectified the storage shortage.
>
> Are you using libvirt (virsh/virt-manager)?

No.

>
> What makes you think that KVM is locked up?

Nothing apparent happens. eg. the VM mouse cursor does not move, no
messages printed in the terminal from which kvm was started.

>
> How much CPU is the qemu-kvm process consuming?

Did not check.

Thanks

Michal

Changed in qemu-kvm (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.