[sheepdog-users] data consistency problem

icez network icez at icez.net
Tue Feb 4 15:23:08 CET 2014


Hello,

Today I found some problem on sheepdog backend. The data always corrupt if
I use erasure coded vdi


This is the result from vdi using erasure coded (created with -c 2:2)

[root at mirrors www]# wget -O services_es60_64.tar.gz
files13.directadmin.com/services/services_es60_64.tar.gz

2014-02-04 21:15:43 (70.8 MB/s) - “services_es60_64.tar.gz” saved
[82193743/82193743]

[root at mirrors www]# md5sum services_es60_64.tar.gz
509ec21eb3f5c925ea3202d9a2409685  services_es60_64.tar.gz
[root at mirrors www]# sync
[root at mirrors www]# echo 3 > /proc/sys/vm/drop_caches
[root at mirrors www]# md5sum services_es60_64.tar.gz
fcb4b31eb4031ff40c7fc306f6108427  services_es60_64.tar.gz



This is the result from normal vdi (created with -c 2)

[root at mirrors mnt]# wget -O services_es60_64.tar.gz
files13.directadmin.com/services/services_es60_64.tar.gz

2014-02-04 21:18:30 (35.5 MB/s) - “services_es60_64.tar.gz” saved
[82193743/82193743]

[root at mirrors mnt]# md5sum services_es60_64.tar.gz
509ec21eb3f5c925ea3202d9a2409685  services_es60_64.tar.gz
[root at mirrors mnt]# sync
[root at mirrors mnt]# echo 3 > /proc/sys/vm/drop_caches
[root at mirrors mnt]# md5sum services_es60_64.tar.gz
509ec21eb3f5c925ea3202d9a2409685  services_es60_64.tar.gz
[root at mirrors mnt]#


Here's my environment

Sheepdog compiled from tag 'v0.8.0' with configure flag './configure
--prefix=/opt/sheep-0.8.0 --enable-zookeeper --disable-corosync'

[root at alkaid ~]# /opt/sheep/sbin/sheep --help
Sheepdog daemon (version 0.8.0)

sheepdog daemon command:
/opt/sheep/sbin/sheep /vz/sheep-data/ --nosync -c zookeeper:
172.16.0.125:2181,172.16.0.126:2181 -y 172.16.0.93

VDI information

  id2331new     0 1000 GB  357 GB  0.0 MB 2014-01-31 00:58   baa12f    2:2
  id2331test     0 1000 GB   10 GB  0.0 MB 2014-02-04 21:00   be9bdb      2


[root at alkaid ~]# dog node list
  Id   Host:Port         V-Nodes       Zone
   0   172.16.0.91:7000         164 1526730924
   1   172.16.0.92:7000         35 1543508140
   2   172.16.0.93:7000         150 1560285356
   3   172.16.0.94:7000         105 1577062572
   4   172.16.0.95:7000         187 1593839788


[root at alkaid ~]# dog cluster info
Cluster status: running, auto-recovery enabled

Cluster created at Fri Jan 31 00:58:35 2014

Epoch Time           Version
2014-01-31 00:58:35      1 [172.16.0.91:7000, 172.16.0.92:7000,
172.16.0.93:7000, 172.16.0.94:7000, 172.16.0.95:7000]



-- 
Personal hosting by icez network
http://www.thzhost.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20140204/4e27bff0/attachment-0004.html>


More information about the sheepdog-users mailing list