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

Liu Yuan namei.unix at gmail.com
Mon Aug 18 15:35:25 CEST 2014


On Mon, Aug 18, 2014 at 03:17:12PM +0200, Valerio Pachera wrote:
> 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?

Ruoyu, do you have time on this problem?

Thanks
Yuan



More information about the sheepdog-users mailing list