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@novanode1 /home/sae]# sheep /home/sae/sheep-test [root@novanode1 /home/sae]# sudo mount -o remount,user_xattr / [root@novanode1 /home/sae]# collie cluster format --copies=3
On machine B: root@node2:/home/sae# sheep /home/sae/sheep-test root@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@novanode1 /home/sae]# collie vdi create alice 5M [root@novanode1 /home/sae]# collie vdi create BOB 5M Anyway, I was able to list all the vdis I had created. [root@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@node3:/home/sae# sheep /home/sae/sheep-test root@node3:/home/sae# sudo mount -o remount,user_xattr / Well, sheep was still working well. root@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! root@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 [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
