<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16700">
<STYLE>@font-face {
font-family: 宋体;
}
@font-face {
font-family: Verdana;
}
@font-face {
font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
UNKNOWN {
FONT-SIZE: 10pt
}
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT color=#000080 size=2 face=Verdana>Hi, Kazutaka</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>I tried your commands, it looks like work
well.</FONT></DIV>
<DIV><FONT color=#000080>But When I used the following command to start kvm-qemu
with the sheepdog : debian_inc images ,the kvm-qemu later became dead
</FONT></DIV>
<DIV><FONT
color=#000080>$./qemu-system-x86_64 -m 512 -hda sheepdog:debian_inc -net nic,model=e1000 -net tap -vnc 10.60.1.92:1 -monitor stdio
</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>And I used the normal images, It worked very well
</FONT></DIV>
<DIV><FONT color=#000080>Is it the bug ?</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>Thank you very much </FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>yaronli</FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana>2011-01-13 </FONT></DIV><FONT
color=#000080 size=2 face=Verdana>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>jidalyg_8711</SPAN>
</FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG> MORITA Kazutaka
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发送时间:</STRONG> 2011-01-12 19:50:59
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>收件人:</STRONG> jidalyg_8711 </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG> sheepdog </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG> Re: [Sheepdog] questions
about qemu-img and sheepdog </FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV>At Wed, 12 Jan 2011 10:49:03 +0800,</DIV>
<DIV>jidalyg_8711 wrote:</DIV>
<DIV>> </DIV>
<DIV>> [1 <multipart/alternative (7bit)>]</DIV>
<DIV>> [1.1 <text/plain; gb2312 (base64)>]</DIV>
<DIV>> </DIV>
<DIV>> Hi, I've used the sheepdog .It is the great project!</DIV>
<DIV>> </DIV>
<DIV>> I have one question about qemu-img and sheepdog, </DIV>
<DIV>> Does sheepdog support the growable disk images (their size increase as non empty sectors are written),Like as :</DIV>
<DIV>> </DIV>
<DIV>> $qemu-img -b sheepdog:debian -f qcow2 sheepdog : debian_inc</DIV>
<DIV></DIV>
<DIV>A snapshot tag is missing for the base image, and you can use only a</DIV>
<DIV>raw format for Sheepdog.</DIV>
<DIV></DIV>
<DIV>> </DIV>
<DIV>> sheepdog : debian is the based image</DIV>
<DIV>> sheepdog : debian_inc is the increase image.</DIV>
<DIV>> </DIV>
<DIV>> I tried this command ,but failed. So how the sheepdog create the increase images?</DIV>
<DIV></DIV>
<DIV>Try the followings:</DIV>
<DIV></DIV>
<DIV> 1. Create a base image</DIV>
<DIV> $ qemu-img convert ./image.raw sheepdog:debian</DIV>
<DIV></DIV>
<DIV> 2. Take a snapshot to use as a base image</DIV>
<DIV> $ qemu-img snapshot -c base sheepdog:debian</DIV>
<DIV></DIV>
<DIV> 3. Create a cloned image from sheepdog:debian:base</DIV>
<DIV> $ qemu-img create -b sheepdog:debian:base sheepdog:debian_inc</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>See also:</DIV>
<DIV> http://wiki.qemu.org/Features/Sheepdog/Getting_Started</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>Thanks,</DIV>
<DIV></DIV>
<DIV>Kazutaka</DIV></FONT></DIV></BODY></HTML>