<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Since the "trusted.glusterfs.volume-id"
      is not set on the bricks , the volume start will fail.<br>
      <br>
      1) Execute : "getfattr -e hex -n trusted.glusterfs.volume-id
      /opt/gluster_data/eccp_glance"  from any of the node which the
      brick process running. <br>
      <br>
      You will get the hex value of the "trusted.glusterfs.volume-id"
      extended attribute . Set this value on the bricks created (On the
      nodes where you deleted the bricks)<br>
      <br>
      2) setfattr -n trusted.glusterfs.volume-id -v
      &lt;hex_value_of_the_trusted_glusterfs_volume-id&gt;
      /opt/gluster_data/eccp_glance<br>
      <br>
      3) gluster volume start &lt;volume_name&gt; force  : To restart
      the brick process<br>
      <br>
      4) gluster volume status &lt;volume_name&gt; : Check all the brick
      process are started. <br>
      <br>
      5) gluster volume heal &lt;volume_name&gt; full : To trigger
      self-heal on to the removed bricks. <br>
      <br>
      Shwetha<br>
      On 11/28/2013 02:59 PM, weiyuanke wrote:<br>
    </div>
    <blockquote
      cite="mid:03A27037-275C-4C2C-9C40-BC29CD9D9ABE@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div>
        <div style="margin: 0px; font-size: 20px; font-family: 'Heiti SC
          Light';">hi Shwetha,</div>
        <div style="margin: 0px; font-size: 20px; font-family: 'Heiti SC
          Light'; min-height: 21px;"><br>
        </div>
        <div style="margin: 0px; font-size: 20px; font-family: 'Heiti SC
          Light'; min-height: 21px;"><br>
        </div>
        <div style="margin: 0px; font-size: 20px; font-family: 'Heiti SC
          Light';"> command "gluster volume start eccp_glance force" on
          the other node gives following:</div>
        <div style="margin: 0px; font-size: 12px; font-family:
          Helvetica;"><img moz-do-not-send="true" alt="Pasted
            Graphic.tiff" apple-inline="yes"
            id="8D8D19B7-C219-444C-BA2C-E9775DC66362" apple-width="yes"
            apple-height="yes"
            src="cid:F03299D9-D98D-476F-AF5D-4648CFBF5BAC" height="79"
            width="609"></div>
        <div style="margin: 0px; font-size: 20px; font-family: 'Heiti SC
          Light'; min-height: 21px;"><br>
        </div>
        <div style="margin: 0px; font-size: 20px; font-family: 'Heiti SC
          Light';">with cli.log</div>
        <div style="margin: 0px; font-size: 12px; font-family:
          Helvetica;"><img moz-do-not-send="true" alt="Pasted Graphic
            1.tiff" apple-inline="yes"
            id="DBE29774-D78E-498D-A3DE-FAED4E3C467B" apple-width="yes"
            apple-height="yes"
            src="cid:A4A14AF9-F024-478D-83FF-E6F2A7D3D209" height="135"
            width="640"></div>
        <div style="margin: 0px; font-size: 20px; font-family: 'Heiti SC
          Light'; min-height: 21px;"><br>
        </div>
        <div style="margin: 0px; font-size: 20px; font-family: 'Heiti SC
          Light';">on the damaged node,gluster volume start eccp_glance
          force gives:</div>
        <div style="margin: 0px; font-size: 12px; font-family:
          Helvetica;"><img moz-do-not-send="true" alt="Pasted Graphic
            2.tiff" apple-inline="yes"
            id="190FD306-57DC-4905-8494-E997D9AEB22D" apple-width="yes"
            apple-height="yes"
            src="cid:78D6C9F5-67C1-4B97-AAD3-934135708D68" height="44"
            width="640"></div>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <br>
      <div>
        <div style="color: rgb(0, 0, 0); letter-spacing: normal;
          orphans: auto; text-align: start; text-indent: 0px;
          text-transform: none; white-space: normal; widows: auto;
          word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap:
          break-word; -webkit-nbsp-mode: space; -webkit-line-break:
          after-white-space;">
          <div style="color: rgb(0, 0, 0); letter-spacing: normal;
            orphans: auto; text-align: start; text-indent: 0px;
            text-transform: none; white-space: normal; widows: auto;
            word-spacing: 0px; -webkit-text-stroke-width: 0px;
            word-wrap: break-word; -webkit-nbsp-mode: space;
            -webkit-line-break: after-white-space;">
            <div style="color: rgb(0, 0, 0); font-family: 'Zapf
              Dingbats'; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              normal; orphans: 2; text-align: -webkit-auto; text-indent:
              0px; text-transform: none; white-space: normal; widows: 2;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space;">---------------------------<br>
              韦远科</div>
            <div style="color: rgb(0, 0, 0); font-family: 'Zapf
              Dingbats'; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              normal; orphans: 2; text-align: -webkit-auto; text-indent:
              0px; text-transform: none; white-space: normal; widows: 2;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space;">010 5881 3749</div>
            <div style="color: rgb(0, 0, 0); font-family: 'Zapf
              Dingbats'; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              normal; orphans: 2; text-align: -webkit-auto; text-indent:
              0px; text-transform: none; white-space: normal; widows: 2;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space;">中国科学院 计算机网络信息中心<br>
              <br>
              <br>
              <br>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <div style="">
        <div>On 2013年11月28日, at 下午4:50, shwetha &lt;<a
            moz-do-not-send="true" href="mailto:spandura@redhat.com">spandura@redhat.com</a>&gt;
          wrote:</div>
        <br class="Apple-interchange-newline">
        <blockquote type="cite">
          <meta content="text/html; charset=UTF-8"
            http-equiv="Content-Type">
          <div bgcolor="#FFFFFF" text="#000000">
            <div class="moz-cite-prefix">1) create the brick directory
              "/opt/gluster_data/eccp_glance" on the nodes where you
              deleted the directories. <br>
              <br>
              2) From any of the storage node execute : <br>
              <ol>
                <li>gluster volume start &lt;volume_name&gt; force  : To
                  restart the brick process</li>
                <li>gluster volume status &lt;volume_name&gt; : Check
                  all the brick process are started. <br>
                </li>
                <li>gluster volume heal &lt;volume_name&gt; full : To
                  trigger self-heal on to the removed bricks. </li>
              </ol>
              -Shwetha<br>
              <br>
              On 11/28/2013 02:09 PM, 韦远科 wrote:<br>
            </div>
            <blockquote
cite="mid:CAGCAvmfmL8gdiAFxQ-fTBsUYFaMfPZv=ZKOj19FCojb_rSU4yQ@mail.gmail.com"
              type="cite">
              <div dir="ltr">
                <div>
                  <div>
                    <div>hi all,<br>
                      <br>
                    </div>
                    I accidentally removed the brick directory of a
                    volume on one node, the replica for this volume is
                    2.<br>
                    <br>
                  </div>
                  now the situation is , there is no corresponding
                  glusterfsd process  on this node, and 'glusterfs
                  volume status' shows that the brick is offline, like
                  this:<br>
                  Brick 192.168.64.11:/opt/gluster_data/eccp_glance  
                   N/A    Y    2513<br>
                  Brick 192.168.64.12:/opt/gluster_data/eccp_glance  
                   49161    Y    2542<br>
                  Brick 192.168.64.17:/opt/gluster_data/eccp_glance  
                   49164    Y    2537<br>
                  Brick 192.168.64.18:/opt/gluster_data/eccp_glance  
                   49154    Y    4978<br>
                  Brick 192.168.64.29:/opt/gluster_data/eccp_glance  
                   N/A    N    N/A<br>
                  Brick 192.168.64.30:/opt/gluster_data/eccp_glance  
                   49154    Y    4072<br>
                  Brick 192.168.64.25:/opt/gluster_data/eccp_glance  
                   49155    Y    11975<br>
                  Brick 192.168.64.26:/opt/gluster_data/eccp_glance  
                   49155    Y    17947<br>
                  Brick 192.168.64.13:/opt/gluster_data/eccp_glance  
                   49154    Y    26045<br>
                  Brick 192.168.64.14:/opt/gluster_data/eccp_glance  
                   49154    Y    22143<br>
                </div>
                <div><br>
                  <br>
                </div>
                <div>so are there ways to bring this brick back to
                  normal?<br>
                  <br>
                </div>
                <div>thanks! <br>
                </div>
                <div>
                  <div>
                    <div>
                      <div><br>
                        <br clear="all">
                        <div>
                          <div dir="ltr">-----------------------------------------------------------------<br>
                            韦远科 <br>
                            <div>中国科学院 计算机网络信息中心</div>
                            <div style="text-align:-webkit-left"><br>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              <fieldset class="mimeAttachmentHeader"></fieldset>
              <br>
              <pre wrap="">_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
            </blockquote>
            <br>
            <br>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
    <br>
  </body>
</html>