<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 23, 2015 at 11:43 AM, Manju Nath <span dir="ltr">&lt;<a href="mailto:manjubs.mail@gmail.com" target="_blank">manjubs.mail@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>We have installed glusterFS 3.5.1 on a docker container. Container is installed with RHEL7.</div><div><br></div><div>We have executed following commands, but after mount if i check the mounted partition we are getting Input/output error.</div><div><br></div><div>Can any one please help us what is the reason for this?</div><div><br></div><div><div>gluster peer probe GlusterFSgeo</div><div>gluster peer probe GlusterFSprimary</div><div>gluster peer probe GlusterFSsecondary</div><div><br></div><div>gluster volume create gv-afr replica 3 transport tcp  GlusterFSprimary:/DGdata/ReplicatedStore GlusterFSsecondary:/DGdata/ReplicatedStore GlusterFSgeo:/DGdata/ReplicatedStore/ force<br></div><div><br></div><div><br></div><div><div>/usr/sbin/gluster volume start gv-afr</div><div>mount -t glusterfs $LOCAL_IP_ADDRESS:gv-afr /mnt/glusterfs/</div></div><div><br></div><div><br></div><div><div>[root@BP kodiak]# ls /mnt/glusterfs/cdr</div><div>ls: cannot access /mnt/glusterfs/cdr: Input/output error</div><div>[root@BP kodiak]#</div></div></div></div></blockquote><div><br></div><div>I have been able to run gluster in docker before. There might be many reasons why you get IO error.</div><div>Most likely is that you do not have a dev/fuse file and mount failed. Looking at the mount log should</div><div>give more info.</div><div><br></div><div>Here is the command to get the dev fuse file.</div><div>mknod /dev/fuse c 10 229<br></div><div><br></div><div>NOTE: You have to do that in a running container in privileged mode.</div><div><br></div><div>Here is my github repo having dockerfile and helper scripts.</div><div><a href="https://github.com/raghavendra-talur/Gluster-in-Docker">https://github.com/raghavendra-talur/Gluster-in-Docker</a> </div><div><br></div><div>Thanks,</div><div>Raghavendra Talur</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span class=""><font color="#888888"><div><br></div><div><br></div><div><br></div>-- <br><div>Regards<br>Manjunath</div>
</font></span></div></div>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><div class="gmail_signature"><div dir="ltr"><div><br></div></div></div>
</div></div>