[sheepdog-users] [sheepdog users] Testing cluster snapshot

Valerio Pachera sirio81 at gmail.com
Mon Aug 18 15:17:12 CEST 2014


snapdir=/media/pubblica/tmp/csnap/

dog cluter format -c 2
qemu-img convert -f qcow2 squeeze.qcow2 sheepdog:test
dog vdi read test | md5sum
dog vdi snapshot test
dog cluster snapshot save -m first $snapdir
dog vdi delete -s 1 test
sleep 30
dog vdi snapshot test
dog cluster snapshot save -m second $snapdir
dog cluster format -c 2
dog cluster snapshot load -m second $snapdir
sleep 5
dog vdi list


Failed to read object 807c2b2500000000 No object found
Failed to read inode header
s test         2   10 GB  0.0 MB   10 GB 2014-08-18 14:33   7c2b26
2
  test         0   10 GB  0.0 MB   10 GB 2014-08-18 14:52   7c2b27      2

sheep.log
Aug 18 14:52:50  ERROR [gway 2662] sheep_exec_req(1170) failed No object
found, remote address: 192.168.10.5:7000, op name: READ_PEER
Aug 18 14:52:50  ERROR [gway 2662] sheep_exec_req(1170) failed No object
found, remote address: 192.168.10.7:7000, op name: READ_PEER

dog vdi check test
finish check&repair test

dog vdi check -s 2 test
finish check&repair test

each time I run 'dog vdi list' 2 raw are added to the log
sheep.log
Aug 18 14:52:50  ERROR [gway 2662] sheep_exec_req(1170) failed No object
found, remote address: 192.168.10.5:7000, op name: READ_PEER
Aug 18 14:52:50  ERROR [gway 2662] sheep_exec_req(1170) failed No object
found, remote address: 192.168.10.7:7000, op name: READ_PEER
Aug 18 15:10:21  ERROR [gway 4815] sheep_exec_req(1170) failed No object
found, remote address: 192.168.10.7:7000, op name: READ_PEER
Aug 18 15:10:21  ERROR [gway 4815] sheep_exec_req(1170) failed No object
found, remote address: 192.168.10.5:7000, op name: READ_PEER

dog vdi read test | md5sum
it match

What do you think about it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20140818/02b37d12/attachment-0004.html>


More information about the sheepdog-users mailing list