<div dir="ltr">Hey guys,<div><br></div><div>I&#39;m experiencing this weird case for pretty much any command (ls, df, find, etc) I try to run against a Gluster client filesystem.</div><div><br></div><div><br></div><div>Just for you guys to understand what I&#39;m talking about, follows this easy and simple test I just ran:</div><div><br></div><div><br></div><div><div>root@web3:~# date; time ls -ltrh /var/www/site-images/templates/assets/prod/temporary/13/user_1339200.png</div><div>Mon Jan 26 07:00:27 PST 2015</div><div>-rwx---r-- 1 mhmadmin mhmadmin 61K Jan 22 14:37 /var/www/site-images/templates/assets/prod/temporary/13/user_1339200.png</div><div><br></div><div>real<span class="" style="white-space:pre">        </span>0m<b>33.651s</b></div><div>user<span class="" style="white-space:pre">        </span>0m0.001s</div><div>sys<span class="" style="white-space:pre">        </span>0m0.004s</div><div>root@web3:~# date; time ls -ltrh /var/www/site-images/templates/assets/prod/temporary/13/user_1339200.png</div><div>Mon Jan 26 07:01:03 PST 2015</div><div>ls: cannot access /var/www/site-images/templates/assets/prod/temporary/13/user_1339200.png: <b>Input/output error</b></div><div><br></div><div>real<span class="" style="white-space:pre">        </span><b>1m40.241s</b></div><div>user<span class="" style="white-space:pre">        </span>0m0.000s</div><div>sys<span class="" style="white-space:pre">        </span>0m0.003s</div><div>root@web3:~# date; time ls -ltrh /var/www/site-images/templates/assets/prod/temporary/13/user_1339200.png</div><div>Mon Jan 26 07:02:51 PST 2015</div><div>ls: cannot access /var/www/site-images/templates/assets/prod/temporary/13/user_1339200.png: <b>Input/output error</b></div><div><br></div><div>real<span class="" style="white-space:pre">        </span><b>0m12.834s</b></div><div>user<span class="" style="white-space:pre">        </span>0m0.000s</div><div>sys<span class="" style="white-space:pre">        </span>0m0.003s</div><div>root@web3:~# date; time ls -ltrh /var/www/site-images/templates/assets/prod/temporary/13/user_1339200.png</div><div>Mon Jan 26 07:03:10 PST 2015</div><div>-rwx---r-- 1 mhmadmin mhmadmin 61K Jan 22 14:37 /var/www/site-images/templates/assets/prod/temporary/13/user_1339200.png</div><div><br></div><div>real<span class="" style="white-space:pre">        </span><b>2m10.150s</b></div><div>user<span class="" style="white-space:pre">        </span>0m0.000s</div><div>sys<span class="" style="white-space:pre">        </span>0m0.005s</div></div><div><br></div><div><br></div><div>Sometimes it passes, but takes a really long time to run a simple command (this is a 61K file), sometimes I see the Input/output error. The important thing to mention is that this behavior happens almost all the time. I can quickly reproduce it if asked.</div><div><br></div><div><br></div><div>This is a 2-node gluster setup. Both VMs act as Client and Server (sorry if I&#39;m not using the correct gluster naming.. I&#39;m getting to know it for weeks now).</div><div><br></div><div><br></div><div>More info:</div><div><br></div><div><div># gluster --version</div><div>glusterfs 3.5.3 built on Nov 18 2014 03:53:25</div><div>Repository revision: git://<a href="http://git.gluster.com/glusterfs.git">git.gluster.com/glusterfs.git</a></div></div><div><br></div><div><div># df -Th</div><div>Filesystem                      Type            Size  Used Avail Use% Mounted on</div></div><div><div>/dev/mapper/data_vg-data_lv     ext4           1007G  506G  451G  53% /export/images1-1</div><div>images1.mydomain.com:/site-images fuse.glusterfs 1007G  506G  451G  53% /var/www/site-images</div></div><div><br></div><div><div># uname -a</div><div>Linux web3 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux</div></div><div><br></div><div><div># gluster volume info</div><div><br></div><div>Volume Name: site-images</div><div>Type: Replicate</div><div>Volume ID: 68bca3c9-210c-45a9-b2bc-6a0e2ee630bb</div><div>Status: Started</div><div>Number of Bricks: 1 x 2 = 2</div><div>Transport-type: tcp</div><div>Bricks:</div><div>Brick1: images1.mydomain.com:/export/images1-1/brick</div><div>Brick2: images2.mydomain.com:/export/images2-1/brick</div><div><br></div><div><br></div><div><br></div><div>Would anyone help me identify what is going on here?</div><div><br></div><div><br></div><div>Thanks in advance!</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font color="#444444"><b>Tiago Santos</b></font><div><div><font color="#ff0000">MustHaveMenus.com</font></div></div></div></div></div></div>
</div></div>