<div dir="ltr"><div><div><div>hi Jan,<br>         Are you doing this as part of erasing the underlying disk(which we call as reset brick) or replacing the complete brick with a new brick?<br>If it is replacing and not resetting, considering you are using 3.7.6 version you can use the CLI directly without all these steps.<br><br></div>Just use single command &quot;gluster volume replace-brick &lt;volname&gt; &lt;old-brick&gt; &lt;new-brick&gt; commit force&quot;<br><br></div><div>We never tested it on FreeBSD though, may be it is a good idea to try this out in a test environment and do it on your production setup. This code does get executed on NetBSD regressions, not sure if that is good enough for FreeBSD.<br></div><div><br><br></div>+Anuradha,<br></div>       Could you update readthedocs documentation with the release details after which just executing replace-brick is good enough? As per git log v3.7.3 has your patch.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 23, 2016 at 6:18 AM, Jan Michael Martirez <span dir="ltr">&lt;<a href="mailto:kuku@racequeen.ph" target="_blank">kuku@racequeen.ph</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I can&#39;t use replace-bricks. <div><br></div><div>I followed this tutorial: <a href="https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Managing%20Volumes/#replace-brick" target="_blank">https://gluster.<wbr>readthedocs.io/en/latest/<wbr>Administrator%20Guide/<wbr>Managing%20Volumes/#replace-<wbr>brick</a></div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>Volume Name: dr</div></div><div><div>Type: Distributed-Replicate</div></div><div><div>Volume ID: 0ce3038c-55c6-4a4e-9b97-<wbr>22269bce9d11</div></div><div><div>Status: Started</div></div><div><div>Number of Bricks: 2 x 2 = 4</div></div><div><div>Transport-type: tcp</div></div><div><div>Bricks:</div></div><div><div>Brick1: gluster01:/glu1</div></div><div><div>Brick2: gluster02:/glu2</div></div><div><div>Brick3: gluster03:/glu3</div></div><div><div>Brick4: gluster04:/glu4</div></div><div><div>Options Reconfigured:</div></div><div><div>features.shard-block-size: 4MB</div></div><div><div>features.shard: on</div></div><div><div>performance.readdir-ahead: on</div></div><div><br></div></blockquote>I&#39;m stuck with <span style="color:rgb(51,51,51);font-family:Consolas,&#39;Andale Mono WT&#39;,&#39;Andale Mono&#39;,&#39;Lucida Console&#39;,&#39;Lucida Sans Typewriter&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Liberation Mono&#39;,&#39;Nimbus Mono L&#39;,Monaco,&#39;Courier New&#39;,Courier,monospace;font-size:10.8px;line-height:24px;white-space:pre-wrap;background-color:rgb(255,255,255)">setfattr.</span><span style="color:rgb(51,51,51);line-height:24px;white-space:pre-wrap;background-color:rgb(255,255,255)"> I&#39;m using </span><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Andale Mono WT&#39;,&#39;Andale Mono&#39;,&#39;Lucida Console&#39;,&#39;Lucida Sans Typewriter&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Liberation Mono&#39;,&#39;Nimbus Mono L&#39;,Monaco,&#39;Courier New&#39;,Courier,monospace;font-size:10.8px;line-height:24px;white-space:pre-wrap;background-color:rgb(255,255,255)">FreeBSD</span><span style="color:rgb(51,51,51);line-height:24px;white-space:pre-wrap;background-color:rgb(255,255,255)">, so I use</span><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Andale Mono WT&#39;,&#39;Andale Mono&#39;,&#39;Lucida Console&#39;,&#39;Lucida Sans Typewriter&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Liberation Mono&#39;,&#39;Nimbus Mono L&#39;,Monaco,&#39;Courier New&#39;,Courier,monospace;font-size:10.8px;line-height:24px;white-space:pre-wrap;background-color:rgb(255,255,255)"> setextattr </span><span style="color:rgb(51,51,51);line-height:24px;white-space:pre-wrap;background-color:rgb(255,255,255)">instead.</span><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Andale Mono WT&#39;,&#39;Andale Mono&#39;,&#39;Lucida Console&#39;,&#39;Lucida Sans Typewriter&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Liberation Mono&#39;,&#39;Nimbus Mono L&#39;,Monaco,&#39;Courier New&#39;,Courier,monospace;font-size:10.8px;line-height:24px;white-space:pre-wrap;background-color:rgb(255,255,255)"> </span><div><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Andale Mono WT&#39;,&#39;Andale Mono&#39;,&#39;Lucida Console&#39;,&#39;Lucida Sans Typewriter&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Liberation Mono&#39;,&#39;Nimbus Mono L&#39;,Monaco,&#39;Courier New&#39;,Courier,monospace;font-size:10.8px;line-height:24px;white-space:pre-wrap;background-color:rgb(255,255,255)"><br></span></div><div><span style="line-height:24px;background-color:rgb(255,255,255);font-size:11px;white-space:pre-wrap"><font face="Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace" color="#333333">root@gluster01:/mnt/fuse # setextattr system wheel abc /mnt/fuse
setextattr: /mnt/fuse: failed: Operation not supported</font></span></div><div><span style="line-height:24px;background-color:rgb(255,255,255);font-size:11px;white-space:pre-wrap"><font face="Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace" color="#333333"><br></font></span></div><div><div><font face="Andale Mono">root@gluster01:/mnt/fuse # glusterd --version</font></div><div><font face="Andale Mono">glusterfs 3.7.6 built on Jul 13 2016 20:32:46</font></div></div></div><br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Pranith<br></div></div>
</div>