<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:微软雅黑;
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@微软雅黑";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML 预设格式 Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin:0cm;
        margin-bottom:.0001pt;
        text-indent:21.0pt;
        font-size:12.0pt;
        font-family:宋体;
        color:black;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLChar
        {mso-style-name:"HTML 预设格式 Char";
        mso-style-priority:99;
        mso-style-link:"HTML 预设格式";
        font-family:宋体;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:634333817;
        mso-list-type:hybrid;
        mso-list-template-ids:649484808 -1743324994 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:51.75pt;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%2\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:75.75pt;
        text-indent:-21.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:96.75pt;
        text-indent:-21.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:117.75pt;
        text-indent:-21.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%5\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:138.75pt;
        text-indent:-21.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:159.75pt;
        text-indent:-21.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:180.75pt;
        text-indent:-21.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%8\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:201.75pt;
        text-indent:-21.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:222.75pt;
        text-indent:-21.0pt;}
@list l1
        {mso-list-id:1271158166;
        mso-list-type:hybrid;
        mso-list-template-ids:-1385004478 -293037326 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:49.5pt;
        text-indent:-18.0pt;}
@list l1:level2
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%2\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:73.5pt;
        text-indent:-21.0pt;}
@list l1:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:94.5pt;
        text-indent:-21.0pt;}
@list l1:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:115.5pt;
        text-indent:-21.0pt;}
@list l1:level5
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%5\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:136.5pt;
        text-indent:-21.0pt;}
@list l1:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:157.5pt;
        text-indent:-21.0pt;}
@list l1:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:178.5pt;
        text-indent:-21.0pt;}
@list l1:level8
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%8\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:199.5pt;
        text-indent:-21.0pt;}
@list l1:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:220.5pt;
        text-indent:-21.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=ZH-CN link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi, Ruoyu, thanks for  your reply. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>Yes, I have found there are some fix on stable 0.8, but we still use stable 0.8.2. Update will be risky, so we need some time.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>I still have some inline questions, can you help me again?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"微软雅黑","sans-serif";color:windowtext'>发件人<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:11.0pt;font-family:"微软雅黑","sans-serif";color:windowtext'> Ruoyu [mailto:liangry@ucweb.com] <br></span><b><span style='font-size:11.0pt;font-family:"微软雅黑","sans-serif";color:windowtext'>发送时间<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:11.0pt;font-family:"微软雅黑","sans-serif";color:windowtext'> 2014</span><span style='font-size:11.0pt;font-family:"微软雅黑","sans-serif";color:windowtext'>年<span lang=EN-US>9</span>月<span lang=EN-US>22</span>日<span lang=EN-US> 14:01<br></span><b>收件人<span lang=EN-US>:</span></b><span lang=EN-US> </span>朱波<span lang=EN-US>; sheepdog<br></span><b>主题<span lang=EN-US>:</span></b><span lang=EN-US> Re: [sheepdog] Could cluster-wide snapshot be restored into different cluster with different number nodes?<o:p></o:p></span></span></p></div></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-US>On 2014</span>年<span lang=EN-US>09</span>月<span lang=EN-US>22</span>日<span lang=EN-US> 13:36, </span>朱波<span lang=EN-US> wrote:<o:p></o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>Hi, folks<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>   I'm a new sheepdog user, I have run sheepdog on 15 sheepdog nodes. And do cluster-wide snapshot for this cluster.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>Recently, I restored the snapshot into a new cluster with 7 nodes. But it failed. the command "dog vdi list" would show me some object can't be found. And currently we don't have more nodes and time to verify whether it would be successful when restore it into a new cluster with 15 sheepdog nodes. <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>   <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>So I have two questions want to check with you guru:<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>1. Could cluster-wide snapshot be restored  into different  cluster with different number node?<o:p></o:p></span></p></div></blockquote><p class=MsoNormal><span lang=EN-US>Yes. Cluster-wide snapshot is de-duplicated. It can be restored into different cluster with different number of nodes and with different redundancy level.<br><br><o:p></o:p></span></p><pre style='line-height:14.7pt;background:white'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>Actually, I find there is a </span><span lang=EN-US style='font-size:10.5pt;font-family:Courier;color:black'>constraint for cluster-wide snapshot in the link:</span><span lang=EN-US> </span><span lang=EN-US style='font-size:10.5pt;font-family:Courier;color:black'><a href="https://www.mail-archive.com/sheepdog@lists.wpkg.org/msg06209.html">https://www.mail-archive.com/sheepdog@lists.wpkg.org/msg06209.html</a> (at the bottom of page).<o:p></o:p></span></pre><pre style='line-height:14.7pt;background:white'><span lang=EN-US style='font-size:10.5pt;font-family:Courier;color:black'>I’m not sure the cluster topology changes means the cluster node number, if you can help explain this, it will be greate.<o:p></o:p></span></pre><pre style='line-height:14.7pt;background:white'><span lang=EN-US style='font-size:10.5pt;font-family:Courier;color:black'><o:p> </o:p></span></pre><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span lang=EN-US style='font-family:"MS Mincho"'>‍</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>2. If one cluster-wide snapshot is failed(after restored,  "dog vdi list" will show some object can't be found), would another new cluster-wide snapshot based on the failed one be successful? in other words, the first tag of cluster-wide snapshot is failed, can the second tag be successful? Are they independent?<o:p></o:p></span></p></div></blockquote><p class=MsoNormal><span lang=EN-US>What is your sheep's version? And, how you produce the failure (some objects not found)? Maybe it is relevant to a bug which is fixed recently.<br><a href="https://github.com/sheepdog/sheepdog/commit/7e236cee8951aa749b84e9b66fbb86385a92b450">https://github.com/sheepdog/sheepdog/commit/7e236cee8951aa749b84e9b66fbb86385a92b450</a><br><br></span><span lang=EN-US style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> the operation step:</span><span lang=EN-US style='color:#1F497D'><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:49.5pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>dog cluster snapshot save snapshot_1  BACKUP_DIR -a 192.168.1.102  -p 7000  (snapshot the cluster A)<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:49.5pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>dog cluster snapshot load snapshot_1  BACKUP_DIR –a 177.xx.xx.xx   -p 7000  (restore into the cluster B)<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:49.5pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>3.<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>on the cluster B. dog vdi list  <o:p></o:p></span></p><p class=MsoNormal style='text-indent:52.5pt'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>it will display xxxx object can’t be found. (I’m not sure why this happen).<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:49.5pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>4.<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>dog cluster snapshot save snapshot_2  BACKUP_DIR -a 192.168.1.102  -p 7000  (snapshot the cluster A)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>              <o:p></o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>Can the snapshot_2  be successful? Or It must be failed like the snapshot_1?<o:p></o:p></span></b></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:49.5pt;text-indent:0cm'><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span lang=EN-US>Anybody can help me? Any response will be appreciated.</span><span lang=EN-US style='font-family:"MS Mincho"'>‍</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>Thanks & Regards<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>Ivan<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><p class=MsoNormal><span lang=EN-US><br><br><o:p></o:p></span></p></blockquote><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>