<!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>Thanks your reply!</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Verdana>I'll try it again.</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>Some other questions:</FONT></DIV>
<DIV><FONT color=#000080>1,The base image need to be a snapshot 
?  Why can't be a raw image?</FONT></DIV>
<DIV><FONT color=#000080>   For local disk images ,The following 
commands worked well:</FONT></DIV>
<DIV><FONT color=#000080>   $ qemu-img -b debian-base.img -f qcow2 
debian_inc.img</FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#000080>2, I have do somethings and I found the following 
output:</FONT></DIV>
<DIV><FONT color=#000080>   </DIV>
<DIV>[root@sim92 store_dir]# collie cluster info</DIV>
<DIV>Waiting for other nodes joining</DIV>
<DIV></DIV>
<DIV>Ctime                Epoch Nodes</DIV>
<DIV>2011-01-11 14:07:26     12 [10.60.1.93:7000, 10.60.1.92:7000, 10.60.1.94:7000]</DIV>
<DIV> </DIV>
<DIV>And I can't use the sheepdog now . Why this happened ?</DIV>
<DIV> </DIV>
<DIV>Thanks you very much !</DIV>
<DIV> </DIV>
<DIV>yaronli</DIV>
<DIV></FONT><FONT color=#c0c0c0 size=2 face=Verdana>2011-01-12 
</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>