<div dir="ltr">+Krutika<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 24, 2016 at 4:10 PM, qingwei wei <span dir="ltr">&lt;<a href="mailto:tchengwee@gmail.com" target="_blank">tchengwee@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am currently running a simple gluster setup using one server node<br>
with multiple disks. I realize that if i delete away all the .shard<br>
files in one replica in the backend, my application (dd) will report<br>
Input/Output error even though i have 3 replicas.<br>
<br>
My gluster version is 3.7.16<br>
<br>
gluster volume file<br>
<br>
Volume Name: testHeal<br>
Type: Replicate<br>
Volume ID: 26d16d7f-bc4f-44a6-a18b-<wbr>eab780d80851<br>
Status: Started<br>
Number of Bricks: 1 x 3 = 3<br>
Transport-type: tcp<br>
Bricks:<br>
Brick1: 192.168.123.4:/mnt/sdb_mssd/<wbr>testHeal2<br>
Brick2: 192.168.123.4:/mnt/sde_mssd/<wbr>testHeal2<br>
Brick3: 192.168.123.4:/mnt/sdd_mssd/<wbr>testHeal2<br>
Options Reconfigured:<br>
cluster.self-heal-daemon: on<br>
features.shard-block-size: 16MB<br>
features.shard: on<br>
performance.readdir-ahead: on<br>
<br>
dd error<br>
<br>
[root@fujitsu05 .shard]# dd of=/home/test if=/mnt/fuseMount/ddTest<br>
bs=16M count=20 oflag=direct<br>
dd: error reading ‘/mnt/fuseMount/ddTest’: Input/output error<br>
1+0 records in<br>
1+0 records out<br>
16777216 bytes (17 MB) copied, 0.111038 s, 151 MB/s<br>
<br>
in the .shard folder where i deleted all the .shard file, i can see<br>
one .shard file is recreated<br>
<br>
getfattr -d -e hex -m.  9061198a-eb7e-45a2-93fb-<wbr>eb396d1b2727.1<br>
# file: 9061198a-eb7e-45a2-93fb-<wbr>eb396d1b2727.1<br>
trusted.afr.testHeal-client-0=<wbr>0x000000010000000100000000<br>
trusted.afr.testHeal-client-2=<wbr>0x000000010000000100000000<br>
trusted.gfid=<wbr>0x41b653f7daa14627b1f91f9e8554<wbr>ddde<br>
<br>
However, the gfid is not the same compare to the other replicas<br>
<br>
getfattr -d -e hex -m.  9061198a-eb7e-45a2-93fb-<wbr>eb396d1b2727.1<br>
# file: 9061198a-eb7e-45a2-93fb-<wbr>eb396d1b2727.1<br>
trusted.afr.dirty=<wbr>0x000000000000000000000000<br>
trusted.afr.testHeal-client-1=<wbr>0x000000000000000000000000<br>
trusted.bit-rot.version=<wbr>0x0300000000000000580dde99000e<wbr>5e5d<br>
trusted.gfid=<wbr>0x9ee5c5eed7964a6cb9ac1a1419de<wbr>5a40<br>
<br>
Is this consider a bug?<br>
<br>
Regards,<br>
<br>
Cwtan<br>
______________________________<wbr>_________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/<wbr>mailman/listinfo/gluster-devel</a></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Pranith<br></div></div>
</div>