<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>thanks Shwetha.</div><div><br></div><div>you solved my problem!</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><div>On 2013年11月28日, at 下午5:47, shwetha &lt;<a 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">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"&nbsp; 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&nbsp; : 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';">&nbsp;command "gluster volume start eccp_glance force" on
          the other node gives following:</div>
        <div style="margin: 0px; font-size: 12px; font-family:
          Helvetica;"><object moz-do-not-send="true" alt="Pasted
            Graphic.tiff" apple-inline="yes" id="8D8D19B7-C219-444C-BA2C-E9775DC66362" apple-width="yes" apple-height="yes" height="79" width="609" data="cid:F03299D9-D98D-476F-AF5D-4648CFBF5BAC" type="application/x-apple-msg-attachment"></object></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;"><object 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" height="135" width="640" data="cid:A4A14AF9-F024-478D-83FF-E6F2A7D3D209" type="application/x-apple-msg-attachment"></object></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;"><object 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" height="44" width="640" data="cid:78D6C9F5-67C1-4B97-AAD3-934135708D68" type="application/x-apple-msg-attachment"></object></div>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <br>
      <div>
        <div style="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="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="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="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="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&nbsp; : 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&nbsp; 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&nbsp;&nbsp;
                  &nbsp;N/A&nbsp;&nbsp; &nbsp;Y&nbsp;&nbsp; &nbsp;2513<br>
                  Brick 192.168.64.12:/opt/gluster_data/eccp_glance&nbsp;&nbsp;
                  &nbsp;49161&nbsp;&nbsp; &nbsp;Y&nbsp;&nbsp; &nbsp;2542<br>
                  Brick 192.168.64.17:/opt/gluster_data/eccp_glance&nbsp;&nbsp;
                  &nbsp;49164&nbsp;&nbsp; &nbsp;Y&nbsp;&nbsp; &nbsp;2537<br>
                  Brick 192.168.64.18:/opt/gluster_data/eccp_glance&nbsp;&nbsp;
                  &nbsp;49154&nbsp;&nbsp; &nbsp;Y&nbsp;&nbsp; &nbsp;4978<br>
                  Brick 192.168.64.29:/opt/gluster_data/eccp_glance&nbsp;&nbsp;
                  &nbsp;N/A&nbsp;&nbsp; &nbsp;N&nbsp;&nbsp; &nbsp;N/A<br>
                  Brick 192.168.64.30:/opt/gluster_data/eccp_glance&nbsp;&nbsp;
                  &nbsp;49154&nbsp;&nbsp; &nbsp;Y&nbsp;&nbsp; &nbsp;4072<br>
                  Brick 192.168.64.25:/opt/gluster_data/eccp_glance&nbsp;&nbsp;
                  &nbsp;49155&nbsp;&nbsp; &nbsp;Y&nbsp;&nbsp; &nbsp;11975<br>
                  Brick 192.168.64.26:/opt/gluster_data/eccp_glance&nbsp;&nbsp;
                  &nbsp;49155&nbsp;&nbsp; &nbsp;Y&nbsp;&nbsp; &nbsp;17947<br>
                  Brick 192.168.64.13:/opt/gluster_data/eccp_glance&nbsp;&nbsp;
                  &nbsp;49154&nbsp;&nbsp; &nbsp;Y&nbsp;&nbsp; &nbsp;26045<br>
                  Brick 192.168.64.14:/opt/gluster_data/eccp_glance&nbsp;&nbsp;
                  &nbsp;49154&nbsp;&nbsp; &nbsp;Y&nbsp;&nbsp; &nbsp;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>
  </div>

</blockquote></div><br></body></html>