<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 December 2013 04:33, Will Glass-Husain <span dir="ltr">&lt;<a href="mailto:wglass@forio.com" target="_blank">wglass@forio.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div dir="ltr"><div><div>Hi,</div><div><br></div><div>I&#39;m trying to expand my replicated volume but am getting an error. My goal is to double my capacity by adding new volumes.  Any suggestions?</div>


<div><br></div><div># gluster volume info</div><div><br></div><div>Volume Name: eproduct</div><div>Type: Replicate</div><div>Volume ID: 1325b138-9777-4d76-9701-6410c0ff35d9</div><div>Status: Started</div><div>Number of Bricks: 1 x 2 = 2</div>


<div>Transport-type: tcp</div><div>Bricks:</div><div>Brick1: staging1:/export/brick1</div><div>Brick2: staging2:/export/brick1</div><div><br></div><div>(I created a new volume /export/brick2 on each of the two servers)</div>


<div><br></div><div># gluster volume add-brick eproduct staging1:/export/brick2 staging2:/export/brick2</div><div>volume add-brick: failed: /export/brick2 or a prefix of it is already part of a volume</div><div><br></div>
</div></div></div></div></blockquote><div>Looks like export brick &quot;/export/brick2&quot; was part of some other gluster volume before. Brick has some xattrs which needs to be cleared before adding them to the gluster volume.<br>
<br></div><div>This should help you.<br><br><a href="http://joejulian.name/blog/glusterfs-path-or-a-prefix-of-it-is-already-part-of-a-volume/">http://joejulian.name/blog/glusterfs-path-or-a-prefix-of-it-is-already-part-of-a-volume/</a><br>
<br></div><div>Note that you will have to run rebalance after adding new bricks.<br><br></div><div><br></div><div><br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div><div dir="ltr"><div><div></div>

<div><br></div><div>---</div><div><br></div><div>Would appreciate suggestions as to what I need to do to add new volumes to give me larger storage capacity.</div><div><br></div><div>Thanks!</div><span class=""><font color="#888888"><div>
<br></div><div>WILL</div>

</font></span></div></div>
</div></div>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br></div></div>