[sheepdog-users] Snapshot and backup

Valerio Pachera sirio81 at gmail.com
Wed Mar 13 13:10:24 CET 2013


Hi, I'm studing and testing the use of snapshot and backup.

I have this vdi

collie vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
  win2003      0   60 GB  3.4 GB  0.0 MB 2013-03-06 15:01    64c5e
3
  test         0  5.0 GB  0.0 MB  0.0 MB 2013-03-13 12:19   7c2b25
7
  wheezy       0   10 GB  1.8 GB  0.0 MB 2013-03-06 15:06   9533ed
3
s squeeze      1   10 GB  1.7 GB  0.0 MB 2013-03-06 14:47   a34c67
3
s squeeze      2   10 GB  188 MB  1.6 GB 2013-03-13 09:51   a34c68
3
s squeeze      3   10 GB  180 MB  1.6 GB 2013-03-13 09:53   a34c69
3
  squeeze      0   10 GB  212 MB  1.6 GB 2013-03-13 09:54   a34c6a     3

I've been looking the syntax of vdi restore and, honestly, I thought I
was going to pass only the vdi name and snapshot id, so sheepdog was
going to revert the snapshot to the vdi.
But syntax report '<vdiname> <backup>'.
I do not know what 'backup' means.
So I run

  collie vdi restore -s 1 squeeze new

It seems to be hanged up...
And the vdi squeeze (id 0) seems disappeared :-) !!!

collie vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
  win2003      0   60 GB  3.4 GB  0.0 MB 2013-03-06 15:01    64c5e
3
  test         0  5.0 GB  0.0 MB  0.0 MB 2013-03-13 12:19   7c2b25
7
  wheezy       0   10 GB  1.8 GB  0.0 MB 2013-03-06 15:06   9533ed
3
s squeeze      1   10 GB  1.7 GB  0.0 MB 2013-03-06 14:47   a34c67
3
s squeeze      2   10 GB  188 MB  1.6 GB 2013-03-13 09:51   a34c68
3
s squeeze      3   10 GB  180 MB  1.6 GB 2013-03-13 09:53   a34c69     3

I probably do not have a clear idea how sheepdog manages snapshot.

Note:
This is the same cluster where I run 'cluster recover force'.
If this may compromise the tests, I'll start from scratch.



More information about the sheepdog-users mailing list