<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE> body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;} </STYLE>
<META name=GENERATOR content="MSHTML 8.00.7601.17824"><BASE
target=_blank></HEAD>
<BODY
style="LINE-HEIGHT: 1.3; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px"
marginheight="0" marginwidth="0">
<DIV><FONT color=#000000 size=3 face=宋体>qemu-img check -f qcow2
test.qcow2<BR>No errors were found on the image.</FONT></DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-09-24</FONT></DIV>
<DIV align=left><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" id=SignNameHR align=left SIZE=2>
</FONT></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana><SPAN
id=_FlashSignName>Wangpan</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<HR>
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG>Razique Mahroua</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>发送时间:</STRONG>2012-09-24 16:30</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>Re: Re: [Openstack] [Nova]
Got 'qemu-img: error while writing sector 634880: Input/output error' in
_create_image</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>收件人:</STRONG>"Wangpan"<hzwangpan@corp.netease.com></FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>抄送:</STRONG>"openstack"<openstack@lists.launchpad.net></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>hi,
<DIV>what about a </DIV>
<DIV>qemu-img check -f qcow2 test.qcow2</DIV>
<DIV><BR></DIV>
<DIV><BR>
<DIV apple-content-edited="true"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium 'Lucida Grande'; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span><SPAN style="FONT-FAMILY: Helvetica"
class=Apple-style-span><SPAN style="FONT-FAMILY: Helvetica"
class=Apple-style-span><B style="COLOR: rgb(19,112,138)">Nuage & Co -
Razique Mahroua</B></SPAN><SPAN
style="FONT-FAMILY: Helvetica; COLOR: rgb(19,112,138)"
class=Apple-style-span><B> </B></SPAN><SPAN
style="LINE-HEIGHT: normal; WIDOWS: 2; TEXT-TRANSFORM: none; FONT-VARIANT: normal; FONT-STYLE: normal; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; FONT-SIZE: medium; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span><SPAN
style="LINE-HEIGHT: normal; WIDOWS: 2; TEXT-TRANSFORM: none; FONT-VARIANT: normal; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span><SPAN
style="LINE-HEIGHT: normal; WIDOWS: 2; TEXT-TRANSFORM: none; FONT-VARIANT: normal; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span>
<DIV
style="FONT-STYLE: normal; FONT-FAMILY: Helvetica; COLOR: rgb(0,0,0); FONT-SIZE: medium; FONT-WEIGHT: normal"><FONT
class=Apple-style-span color=#13708a><A
href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</A></FONT></DIV></SPAN><BR
class=Apple-interchange-newline><SPAN></SPAN><SPAN
style="FONT-STYLE: normal; FONT-FAMILY: Helvetica; COLOR: rgb(0,0,0); FONT-SIZE: medium; FONT-WEIGHT: normal"></SPAN><SPAN
style="COLOR: rgb(0,0,0); FONT-WEIGHT: normal"></SPAN></SPAN><SPAN><IMG
id=84a1cc6f-2bb7-4966-9f8a-acdafc47e3fb
src="cid:flashmail$KIjTEamN$1348476212__0@nmmp" width=125 height=125
apple-height="yes" apple-width="yes"></SPAN> </SPAN></SPAN></SPAN></DIV><BR>
<DIV>
<DIV>Le 24 sept. 2012 à 10:19, "Wangpan"<<A
href="mailto:hzwangpan@corp.netease.com">hzwangpan@corp.netease.com</A>> a
écrit :</DIV><BR class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">Thanks for your attention!<BR><BR>- 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.<BR>- permission issues ----# Not this reason,
too. explain as above.<BR><BR>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, <BR>I have verified this by running two same commands continuously
such as:<BR>qemu-img convert -f qcow2 -O raw test.qcow2 test.part
&<BR>and one of them give me the same error:<BR>qemu-img: error while
writing sector 1052672: Input/output
error<BR><BR></BLOCKQUOTE></DIV><BR></DIV></FONT></DIV></BODY></HTML>