<div dir="ltr"><div>Hello, Daniel.<br></div><div>I am also testing gluster on vmware; in my application, it will be a secondary datastore for VM images.</div><div><br></div><div>So far, I&#39;ve hit a couple of brick walls, like, for instance, VMware not reading volumes created as striped, or striped + replicated. It simply sits there, trying, four hours, without errors on either sides.</div>
<div><br></div><div>But your current configuration WILL work.</div><div><br></div><div>As a suggestion, to begin with your troubleshooting, try disabling firewall and SElinux. nothing to do with your current problem, BUT will matter in the near future. After you are sure all works, go back an re-enable/ fine tune them.</div>
<div><br></div><div>Now to your problem...</div><div><br></div><div>Your first syntax seem to be a bit off,unless it is a typo;&nbsp;</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">sudo mount.glusterfs 192.168.100.170:gv0 /mnt/export</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">you see, there is a slash missing after. It should read</span></div><div>
<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">sudo mount.glusterfs 192.168.100.170:/gv0 /mnt/export</span><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><br></div><div>For the second case, you did not post the error message, so I can only suggest you try copying/pasting this:</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">sudo mount -t glusterfs 192.168.100.170:/gv0 /mnt/export</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div>Now, here is another trick: try mounting wit nfs:</div><div><br></div><div>First, make sure your NFS share is really being shared:</div>
<div><br></div><div># showmount -e 192.168.100.170</div><div><br></div><div>Alternatively, if you are on one of the gluster servers, just for testing, you may try:</div><div><br></div><div># showmount -e localhost</div><div>
<br></div><div>Make sure your gluster volume is REALLY called gv0.</div><div><br></div><div>Now you can try mounting with:</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">sudo mount -t nfs 192.168.100.170:/gv0 /mnt/export</span><br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">Again, if you are on one of the servers, try&nbsp;</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">sudo mount -t nfs localhost:/gv0 /mnt/export</span></div>
<div class="gmail_extra"><font face="arial, sans-serif"><br></font></div><div class="gmail_extra"><font face="arial, sans-serif">You might want to &quot;sudo su&quot; to run everything all commands as root, without the hassle of sudoing everything.</font></div>
<div class="gmail_extra"><font face="arial, sans-serif"><br></font></div><div class="gmail_extra"><font face="arial, sans-serif">Give it a try. If nfs works, go for it anyway; It is your only option for VMware/esxi anyway.</font></div>
<div class="gmail_extra"><font face="arial, sans-serif"><br></font></div><div class="gmail_extra"><font face="arial, sans-serif">There are a few more advanced steps on esxi and on gluster, but let&#39;s get it to work first, right ?</font></div>
<div class="gmail_extra"><font face="arial, sans-serif"><br></font></div><div class="gmail_extra"><font face="arial, sans-serif">Cheers,&nbsp;<br></font><br><div class="gmail_quote">On Fri, Mar 7, 2014 at 9:15 AM, Daniel Baker <span dir="ltr">&lt;<a href="mailto:info@collisiondetection.biz" target="_blank">info@collisiondetection.biz</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"><br>
Hi,<br>
<br>
I have followed your tutorial to set up glusterfs 3.4.2 in vmware.<br>
<a href="http://www.gluster.org/community/documentation/index.php/Getting_started_configure" target="_blank">http://www.gluster.org/community/documentation/index.php/Getting_started_configure</a><br>
<br>
My &nbsp;gluster volume info is the same as this:<br>
<br>
<br>
Volume Name: gv0<br>
Type: Replicate<br>
Volume ID: 8bc3e96b-a1b6-457d-8f7a-a91d1d4dc019<br>
Status: Created<br>
Number of Bricks: 1 x 2 = 2<br>
Transport-type: tcp<br>
Bricks:<br>
Brick1: node01.yourdomain.net:/export/sdb1/brick<br>
Brick2: node02.yourdomain.net:/export/sdb1/brick<br>
<br>
In order to test replication I have installed the glusterfs-client on my<br>
ubuntu 12.04 &nbsp;laptop.<br>
<br>
I issue this command:<br>
<br>
sudo mount.glusterfs 192.168.100.170:gv0 /mnt/export<br>
<br>
but I receive this &nbsp;error :<br>
<br>
Usage: &nbsp;mount.glusterfs &lt;volumeserver&gt;:&lt;volumeid/volumeport&gt; -o<br>
&lt;options&gt; &lt;mountpoint&gt;<br>
Options:<br>
man 8 mount.glusterfs<br>
<br>
To display the version number of the mount helper:<br>
mount.glusterfs --version<br>
<br>
<br>
<br>
I have also tried this variant :<br>
<br>
&nbsp;# mount -t glusterfs HOSTNAME-OR-IPADDRESS:/VOLNAME MOUNTDIR<br>
<br>
<br>
<br>
So how do I mount the volumes and test the replication. Your getting<br>
started tutorial doesn&rsquo;t detail that ?<br>
<br>
Thanks for your help<br>
<br>
Dan<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div><br></div></div>