<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 01/09/2017 09:29 PM, Andrus, Brian
      Contractor wrote:<br>
    </div>
    <blockquote
cite="mid:BN6PR13MB11548BCE520F0CE6AA993266D4640@BN6PR13MB1154.namprd13.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">All, <o:p></o:p></p>
        <p class="MsoNormal">We have a small cluster with a single
          volume and a single replicated brick:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Volume Name: volume1<o:p></o:p></p>
        <p class="MsoNormal">Type: Replicate<o:p></o:p></p>
        <p class="MsoNormal">Number of Bricks: 1 x 2 = 2<o:p></o:p></p>
        <p class="MsoNormal">Bricks:<o:p></o:p></p>
        <p class="MsoNormal">Brick1: node01:/export/sdb1/brick<o:p></o:p></p>
        <p class="MsoNormal">Brick2: node02:/export/sdb1/brick<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Now the disk on node01 is going bad and
          needs replaced, but I am uncertain if there is a safe way to
          do this with gluster. There are not enough connections in the
          system to hook up a new disk and then add it. I have to
          physically replace the disk with the new one.</p>
      </div>
    </blockquote>
    If you are using glusterfs 3.9 and want to give the replaced brick
    the same name as the old one, there is the reset-brick command. The
    commit message in <a class="moz-txt-link-freetext" href="http://review.gluster.org/#/c/12250/">http://review.gluster.org/#/c/12250/</a> gives you
    some information on the steps to run.<br>
    If you are okay with using a different name for the brick, then
    there is `gluster volume replace-brick &lt;volname&gt;
    &lt;hostname:old brick&gt; &lt;hostname:new brick&gt; commit force`.
    I think this command works from glusterfs 3.7.10 onward.<br>
    -Ravi<br>
    <br>
    <blockquote
cite="mid:BN6PR13MB11548BCE520F0CE6AA993266D4640@BN6PR13MB1154.namprd13.prod.outlook.com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Is there a way to do that? <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">Brian Andrus<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">ITACS/Research
            Computing<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Naval
            Postgraduate School<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Monterey,
            California<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">voice:
            831-656-6238<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>