<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 12/30/2012 09:32 PM, Jay Vyas wrote:<br>
    </div>
    <blockquote
cite="mid:CAAu13zEi4+4=xzCu3R8U-SJf-WWrWi=LR6DN3ZXsv7NAcSeb7A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Regarding the error message---&nbsp;
        <div><br>
        </div>
        <div>Why would gluster "fail to get a port number for a remote
          subvolume?" &nbsp;Where is the port number being "gotten" from?
          Isn't it simply hardcoded into the mount command? &nbsp;</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 moz-do-not-send="true"
              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.
                    &nbsp;Luckily, I found that under /var/log/glusterfs
                    there is a specific log file for this mount
                    operation:&nbsp;</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 "port number". &nbsp;</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&nbsp;</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:&nbsp;</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&nbsp;<b>what port&nbsp;</b>my gluster server
                      is using? &nbsp;</span></div>
                  <div><span
                      style="background-color:rgba(255,255,255,0)">2)
                      Can I mount a gluster server as localhost (i.e.&nbsp;<b>localhost:PetShop</b>&nbsp;or
                      127.0.0.1:PetShop) ?&nbsp;</span></div>
                  <div><span
                      style="background-color:rgba(255,255,255,0)">3) Is
                      it possible using a command similar to "<b>gluster
                        volume info</b>" to show the&nbsp;<b>ports</b>&nbsp;that
                      Bricks are serving on? &nbsp;</span></div>
                  <div><span
                      style="background-color:rgba(255,255,255,0)"><br>
                    </span></div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    If you'll refer to my previous reply, 24007 (and maybe 24008) are
    the management daemon (glusterd) ports. The glusterfs client calls
    the management daemon for the volume configuration. Once retrieved,
    the client then connects to all of the bricks (glusterfsd) defined
    in that configuration. The brick ports vary depending on how many
    volumes exist and how many bricks but are within the range I
    specified previously.<br>
  </body>
</html>