<div dir="ltr"><div>Hello,</div><div><br></div><div>Today I found some problem on sheepdog backend. The data always corrupt if I use erasure coded vdi</div><div><br></div><div><br></div><div>This is the result from vdi using erasure coded (created with -c 2:2)</div>
<div><br></div><div><div>[root@mirrors www]# wget -O services_es60_64.tar.gz <a href="http://files13.directadmin.com/services/services_es60_64.tar.gz">files13.directadmin.com/services/services_es60_64.tar.gz</a></div><div>
<br></div><div>2014-02-04 21:15:43 (70.8 MB/s) - “services_es60_64.tar.gz” saved [82193743/82193743]<br></div><div><br></div><div>[root@mirrors www]# md5sum services_es60_64.tar.gz</div><div>509ec21eb3f5c925ea3202d9a2409685 services_es60_64.tar.gz</div>
<div>[root@mirrors www]# sync</div><div>[root@mirrors www]# echo 3 > /proc/sys/vm/drop_caches</div><div>[root@mirrors www]# md5sum services_es60_64.tar.gz</div><div>fcb4b31eb4031ff40c7fc306f6108427 services_es60_64.tar.gz</div>
</div><div><br></div><div><br></div><div><br></div><div>This is the result from normal vdi (created with -c 2)</div><div><br></div><div><div>[root@mirrors mnt]# wget -O services_es60_64.tar.gz <a href="http://files13.directadmin.com/services/services_es60_64.tar.gz">files13.directadmin.com/services/services_es60_64.tar.gz</a></div>
<div><br></div><div>2014-02-04 21:18:30 (35.5 MB/s) - “services_es60_64.tar.gz” saved [82193743/82193743]</div><div><br></div><div>[root@mirrors mnt]# md5sum services_es60_64.tar.gz</div><div>509ec21eb3f5c925ea3202d9a2409685 services_es60_64.tar.gz</div>
<div>[root@mirrors mnt]# sync</div><div>[root@mirrors mnt]# echo 3 > /proc/sys/vm/drop_caches</div><div>[root@mirrors mnt]# md5sum services_es60_64.tar.gz</div><div>509ec21eb3f5c925ea3202d9a2409685 services_es60_64.tar.gz</div>
<div>[root@mirrors mnt]#</div></div><div><br></div><div><br></div><div>Here's my environment</div><div><br></div><div>Sheepdog compiled from tag 'v0.8.0' with configure flag './configure --prefix=/opt/sheep-0.8.0 --enable-zookeeper --disable-corosync'</div>
<div><br></div><div><div>[root@alkaid ~]# /opt/sheep/sbin/sheep --help</div><div>Sheepdog daemon (version 0.8.0)</div></div><div><br></div><div>sheepdog daemon command:</div><div><div>/opt/sheep/sbin/sheep /vz/sheep-data/ --nosync -c zookeeper:<a href="http://172.16.0.125:2181">172.16.0.125:2181</a>,<a href="http://172.16.0.126:2181">172.16.0.126:2181</a> -y 172.16.0.93</div>
</div><div><br></div><div>VDI information</div><div><br></div><div><div> id2331new 0 1000 GB 357 GB 0.0 MB 2014-01-31 00:58 baa12f 2:2</div><div> id2331test 0 1000 GB 10 GB 0.0 MB 2014-02-04 21:00 be9bdb 2</div>
</div><div><br></div><div><br></div><div><div>[root@alkaid ~]# dog node list</div><div> Id Host:Port V-Nodes Zone</div><div> 0 <a href="http://172.16.0.91:7000">172.16.0.91:7000</a> 164 1526730924</div>
<div> 1 <a href="http://172.16.0.92:7000">172.16.0.92:7000</a> 35 1543508140</div><div> 2 <a href="http://172.16.0.93:7000">172.16.0.93:7000</a> 150 1560285356</div><div> 3 <a href="http://172.16.0.94:7000">172.16.0.94:7000</a> 105 1577062572</div>
<div> 4 <a href="http://172.16.0.95:7000">172.16.0.95:7000</a> 187 1593839788</div></div><div><br></div><div><br></div><div><div>[root@alkaid ~]# dog cluster info</div><div>Cluster status: running, auto-recovery enabled</div>
<div><br></div><div>Cluster created at Fri Jan 31 00:58:35 2014</div><div><br></div><div>Epoch Time Version</div><div>2014-01-31 00:58:35 1 [<a href="http://172.16.0.91:7000">172.16.0.91:7000</a>, <a href="http://172.16.0.92:7000">172.16.0.92:7000</a>, <a href="http://172.16.0.93:7000">172.16.0.93:7000</a>, <a href="http://172.16.0.94:7000">172.16.0.94:7000</a>, <a href="http://172.16.0.95:7000">172.16.0.95:7000</a>]</div>
</div><div><br></div><div><br></div><div><br></div>-- <br>Personal hosting by icez network<br><a href="http://www.thzhost.com">http://www.thzhost.com</a></div>