<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 08/28/2014 03:55 PM, Bin Zhou wrote:<br>
    </div>
    <blockquote
      cite="mid:1409234128.35977.YahooMailNeo@web161704.mail.bf1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:12pt">
        <div style="" class="">I am trying to deploy glusterfs server
          (3.5.2-2) on LXCs running Ubuntu 14.0.4. However I cannot find
          a viable method to attach an additional logical volume block
          device to LXC except using dev loop. GlusterFS volume is
          created and started without any problem. But the client fails
          to mount to glusterfs volume.</div>
        <div style="" class=""><br style="" class="">
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
          Grande,sans-serif; background-color: transparent; font-style:
          normal;" class="">ubuntu@gserv-5:~$ sudo gluster volume create
          gv2 replica 2 gserv-5:/data/brick1/gv2 
          gserv-6:/data/brick1/gv2<br style="" class="">
          volume create: gv2: failed: Host gserv-6 is not in 'Peer in
          Cluster' state<br style="" class="">
          ubuntu@gserv-5:~$ sudo gluster peer probe gserv-6<br style=""
            class="">
          peer probe: success. <br style="" class="">
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
          Grande,sans-serif; background-color: transparent; font-style:
          normal;" class="">ubuntu@gserv-6:~$ sudo gluster volume start
          gv3<br style="" class="">
          volume start: gv3: success<br style="" class="">
          ubuntu@gserv-6:~$ sudo gluster volume info<br style=""
            class="">
           <br style="" class="">
          Volume Name: gv3<br style="" class="">
          Type: Replicate<br style="" class="">
          Volume ID: 822ac57e-d033-439a-9d98-c9162d00c50b<br style=""
            class="">
          Status: Started<br style="" class="">
          Number of Bricks: 1 x 2 = 2<br style="" class="">
          Transport-type: tcp<br style="" class="">
          Bricks:<br style="" class="">
          Brick1: gserv-5:/data/brick1/gv3<br style="" class="">
          Brick2: gserv-6:/data/brick1/gv3<br style="" class="">
          <br style="" class="">
        </div>
        <div style="" class="">ubuntu@gserv-6:~$ sudo mount -t glusterfs
          gserv-5:/gv3 /mnt/gv3 <br style="" class="">
          Mount failed. Please check the log file for more details.</div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
          Grande,sans-serif; background-color: transparent; font-style:
          normal;" class=""><br style="" class="">
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
          Grande,sans-serif; background-color: transparent; font-style:
          normal;" class="">ubuntu@gserv-6:~$ mount<br style="" class="">
          /dev/ubuntu-vg/lv-6 on / type ext3 (rw)<br style="" class="">
          proc on /proc type proc (rw,noexec,nosuid,nodev)<br style=""
            class="">
          sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)<br style=""
            class="">
          ... ...<br style="" class="">
          <span>/dev/loop3 on /data/brick1 type ext3 (rw)</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
          Grande,sans-serif; background-color: transparent; font-style:
          normal;" class=""><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
          Grande,sans-serif; background-color: transparent; font-style:
          normal;" class="">I am new to GlusterFS. Could someone help me
          to troubleshoot this issue please? <br>
          Thanks a lot!<br>
        </div>
      </div>
      <br>
    </blockquote>
    <br>
    What are in the logs?<br>
    <br>
    t<br>
  </body>
</html>