<div dir="ltr">Regarding the error message--- <div><br></div><div>Why would gluster &quot;fail to get a port number for a remote subvolume?&quot;  Where is the port number being &quot;gotten&quot; from? Isn&#39;t it simply hardcoded into the mount command?  </div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 30, 2012 at 5:12 PM,  <span dir="ltr">&lt;<a href="mailto:jayunit100@gmail.com" target="_blank">jayunit100@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">
<div dir="auto"><div><div><span style="background-color:rgba(255,255,255,0)">The following command</span></div><div><span style="background-color:rgba(255,255,255,0)"><br></span></div><div><span style="background-color:rgba(255,255,255,0)">mount -t glusterfs domU-12-31-39-00-A5-7B:111:PetShop /mnt/petshop<br>
</span></div><div><span style="background-color:rgba(255,255,255,0)"><br></span></div><div><span style="background-color:rgba(255,255,255,0)">fails.  Luckily, I found that under /var/log/glusterfs there is a specific log file for this mount operation: </span></div>
<div><span style="background-color:rgba(255,255,255,0)"><br></span></div><div><span style="background-color:rgba(255,255,255,0)">It appears that its related to the &quot;port number&quot;.  </span></div><div><span style="background-color:rgba(255,255,255,0)"><br>
</span></div><div><span style="background-color:rgba(255,255,255,0)">[root@domU-12-31-39-00-A5-7B ~]# tail /var/log/glusterfs/mnt-petshop.log </span></div><div><div><span style="background-color:rgba(255,255,255,0)">[2012-12-30 20:44:17.509907] E [client-handshake.c:1717:client_query_portmap_cbk] 0-PetShop-client-1: failed to get the port number for remote subvolume</span></div>
<div><span style="background-color:rgba(255,255,255,0)"><br></span></div><div><span style="background-color:rgba(255,255,255,0)">I have several questions on this subject: </span></div><div><span style="background-color:rgba(255,255,255,0)"><br>
</span></div><div><span style="background-color:rgba(255,255,255,0)">1) How can I know <b>what port </b>my gluster server is using?  </span></div><div><span style="background-color:rgba(255,255,255,0)">2) Can I mount a gluster server as localhost (i.e. <b>localhost:PetShop</b> or 127.0.0.1:PetShop) ? </span></div>
<div><span style="background-color:rgba(255,255,255,0)">3) Is it possible using a command similar to &quot;<b>gluster volume info</b>&quot; to show the <b>ports</b> that Bricks are serving on?  </span></div><div><span style="background-color:rgba(255,255,255,0)"><br>
</span></div><div><span style="background-color:rgba(255,255,255,0)">&lt;&lt;&lt;&lt; LOG DUMP FROM ABOVE CONTINUED &gt;&gt;&gt;&gt; </span></div><div><span style="background-color:rgba(255,255,255,0)"><br></span></div><div>
<span style="background-color:rgba(255,255,255,0)">[2012-12-30 20:44:17.510088] I [client.c:2090:client_rpc_notify] 0-PetShop-client-1: disconnected</span></div><div><span style="background-color:rgba(255,255,255,0)">[2012-12-30 20:44:17.527225] I [fuse-bridge.c:4193:fuse_graph_setup] 0-fuse: switched to graph 0</span></div>
<div><span style="background-color:rgba(255,255,255,0)">[2012-12-30 20:44:17.527727] I [fuse-bridge.c:3376:fuse_init] 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.13 kernel 7.13</span></div><div><span style="background-color:rgba(255,255,255,0)">[2012-12-30 20:44:17.527882] E [dht-common.c:1372:dht_lookup] 0-PetShop-dht: Failed to get hashed subvol for /</span></div>
<div><span style="background-color:rgba(255,255,255,0)">[2012-12-30 20:44:17.528120] E [dht-common.c:1372:dht_lookup] 0-PetShop-dht: Failed to get hashed subvol for /</span></div><div><span style="background-color:rgba(255,255,255,0)">[2012-12-30 20:44:17.528168] W [fuse-bridge.c:513:fuse_attr_cbk] 0-glusterfs-fuse: 2: LOOKUP() / =&gt; -1 (Invalid argument)</span></div>
<div><span style="background-color:rgba(255,255,255,0)">[2012-12-30 20:44:17.535553] I [fuse-bridge.c:4093:fuse_thread_proc] 0-fuse: unmounting /mnt/petshop</span></div><div><span style="background-color:rgba(255,255,255,0)">[2012-12-30 20:44:17.536129] W [glusterfsd.c:831:cleanup_and_exit] (--&gt;/lib64/libc.so.6(clone+0x6d) [0x3e9a4e5ccd] (--&gt;/lib64/libpthread.so.0() [0x3e9ac077f1] (--&gt;/usr/sbin/glusterfs(glusterfs_sigwaiter+0xdd) [0x405cfd]))) 0-: received signum (15), shutting down</span></div>
<div><span style="background-color:rgba(255,255,255,0)">[2012-12-30 20:44:17.536160] I [fuse-bridge.c:4643:fini] 0-fuse: Unmounting &#39;/mnt/petshop&#39;.</span></div></div><br><span>Jay Vyas </span><div><a href="http://jayunit100.blogspot.com" target="_blank">http://jayunit100.blogspot.com</a></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jay Vyas<br><a href="http://jayunit100.blogspot.com" target="_blank">http://jayunit100.blogspot.com</a>
</div>