[Openstack] [Nova] Got 'qemu-img: error while writing sector 634880: Input/output error' in _create_image

Wangpan hzwangpan at corp.netease.com
Mon Sep 24 08:43:32 UTC 2012


qemu-img check -f qcow2 test.qcow2
No errors were found on the image.

2012-09-24



Wangpan



发件人:Razique Mahroua
发送时间:2012-09-24 16:30
主题:Re: Re: [Openstack] [Nova] Got 'qemu-img: error while writing sector 634880: Input/output error' in _create_image
收件人:"Wangpan"<hzwangpan at corp.netease.com>
抄送:"openstack"<openstack at lists.launchpad.net>

hi, 
what about a 
qemu-img check -f qcow2 test.qcow2




Nuage & Co - Razique Mahroua 
razique.mahroua at gmail.com

 


Le 24 sept. 2012 à 10:19, "Wangpan"<hzwangpan at corp.netease.com> a écrit :


Thanks for your attention!

- disk full  ----# I believe there is enough space, because I have tried to boot serveral instances after this error with the same image, they are all booted successfully.
- permission issues    ----# Not this reason, too. explain as above.

I still believe this is a race problem, if we convert to image from qcow2 to raw at a short interval, one of the convertion may fail, 
I have verified this by running two same commands continuously such as:
qemu-img convert -f qcow2 -O raw  test.qcow2 test.part &
and one of them give me the same error:
qemu-img: error while writing sector 1052672: Input/output error
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120924/d8cef377/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NUAGECO-LOGO-Fblan_petit(1).jpg
Type: image/jpeg
Size: 10122 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120924/d8cef377/attachment.jpg>


More information about the Openstack mailing list