[Sheepdog] A question about vdi's disappearance.

Yibin Shen zituan at taobao.com
Tue Nov 22 12:10:43 CET 2011


On Tue, Nov 22, 2011 at 6:41 PM, Tao Lin <especiallyl at 126.com> wrote:
> Hi,
>  I'm now testing this interesting project and I went into a problem during the
> process.
>  I have 3 host machines, I used commands on machine A as following:
>  [root at novanode1 /home/sae]# sheep /home/sae/sheep-test
>  [root at novanode1 /home/sae]# sudo mount -o remount,user_xattr /
>  [root at novanode1 /home/sae]# collie cluster format --copies=3
>
>  On machine B:
>  root at node2:/home/sae#  sheep /home/sae/sheep-test
>  root at node2:/home/sae#  sudo mount -o remount,user_xattr /
>
>  Up to now,it seemed that sheepdog was working well. I then created two vdis
> using commands:
>  [root at novanode1 /home/sae]# collie vdi create alice 5M
>  [root at novanode1 /home/sae]# collie vdi create BOB 5M
>
>  Anyway, I was able to list all the vdis I had created.
>  [root at novanode1 /home/sae]# collie vdi list
>  name        id    size    used  shared    creation time   vdi id
> ------------------------------------------------------------------
>  alice        1  5.0 MB  0.0 MB  0.0 MB 2011-11-22 04:45   a03907
>  BOB          1  5.0 MB  0.0 MB  0.0 MB 2011-11-22 04:45   a67b34
>
>  Then I tried to add machine C to the system, inputting commands as below:
>  root at node3:/home/sae# sheep /home/sae/sheep-test
>  root at node3:/home/sae# sudo mount -o remount,user_xattr /
>
>
>  Well, sheep was still working well.
>  root at node3:/home/sae# collie vdi list
>  name        id    size    used  shared    creation time   vdi id
> ------------------------------------------------------------------
>  alice        1  5.0 MB  0.0 MB  0.0 MB 2011-11-22 17:45   a03907
>  BOB          1  5.0 MB  0.0 MB  0.0 MB 2011-11-22 17:45   a67b34
>
>
>
> After having uesd this command rashly:collie cluster format --copies=2, all the
> vdis were gone!
Yes, this is what 'format' command do
> root at node3:/home/sae# collie vdi list
>  name        id    size    used  shared    creation time   vdi id
> ------------------------------------------------------------------
>
>
>  Here is my question: if one makes mistake rashly as mine, can he restore the
> vdis and how?
>
>
>
> Thanks a lot.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog
>

________________________________

This email (including any attachments) is confidential and may be legally privileged. If you received this email in error, please delete it immediately and do not copy it or use it for any purpose or disclose its contents to any other person. Thank you.

本电邮(包括任何附件)可能含有机密资料并受法律保护。如您不是正确的收件人,请您立即删除本邮件。请不要将本电邮进行复制并用作任何其他用途、或透露本邮件之内容。谢谢。



More information about the sheepdog mailing list