[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qcow2 problem: while a qcow2 image run out of disk spac
From: |
Alexandre DERUMIER |
Subject: |
Re: [Qemu-devel] qcow2 problem: while a qcow2 image run out of disk space the guest paused. |
Date: |
Fri, 17 Apr 2015 06:30:10 +0200 (CEST) |
Hi,
Isn't it related to drive options ?
"
werror=action,rerror=action
Specify which action to take on write and read errors. Valid actions are:
“ignore” (ignore the error and try to continue), “stop” (pause QEMU), “report”
(report the error to the guest), “enospc” (pause QEMU only if the host disk is
full; report the error to the guest otherwise). The default setting is
werror=enospc and rerror=report.
"
----- Mail original -----
De: "chenxg" <address@hidden>
À: "Kevin Wolf" <address@hidden>, "stefanha" <address@hidden>, address@hidden,
address@hidden, address@hidden, "Holger Wolf" <address@hidden>, "qemu-devel"
<address@hidden>
Envoyé: Vendredi 17 Avril 2015 04:22:57
Objet: [Qemu-devel] qcow2 problem: while a qcow2 image run out of disk space
the guest paused.
Hi Kevin,
While installing a guest into a qcow2 image if the qcow2 image run out
of disk space, the guest will stop work and change state to paused
without messages.
When we tried to free up disk space in the host and the virsh resume to
work. The guest then got I/O errors but later on QEMU also crashed.
A guest in paused state is certainly not the best result.
Probably good way to react are:
- return I/O errors to the guest and the let the guest handle those
(Linux file system code might just crash)
- allow resume only when disk is free again.
What's your opinion?