<p dir="ltr"></p>
<p dir="ltr">Sent from Samsung Galaxy S4<br>
On 7 Jun 2015 20:04, &quot;Nathan Hand (Business)&quot; &lt;<a href="mailto:nathanh@manu.com.au">nathanh@manu.com.au</a>&gt; wrote:<br>
&gt;<br>
&gt; I have a simple distributed volume with two bricks.<br>
&gt;<br>
&gt;      # gluster volume info myvolume<br>
&gt;      Volume Name: myvolume<br>
&gt;      Type: Distribute<br>
&gt;      Volume ID: b0193509-817b-4f77-8f65-4cfeb384bedb<br>
&gt;      Status: Started<br>
&gt;      Number of Bricks: 2<br>
&gt;      Transport-type: tcp<br>
&gt;      Bricks:<br>
&gt;      Brick1: zeus.lan:/mnt/pool-lvol1/brick0<br>
&gt;      Brick2: io.lan:/data/glusterfs/myvolume/brick2/anchor<br>
&gt;<br>
&gt; I’d like to change Brick1’s path to follow Brick2’s naming convention, i.e. /data/glusterfs/myvolume/brick1/anchor<br>
&gt;<br>
&gt; I can easily change Brick1’s mount point, but I don’t know how to tell gluster about the new location.<br>
&gt;<br>
&gt; Options I’ve considered:<br>
&gt;<br>
&gt;     * Editing /var/lib/glusterd/vols by hand, but that could be foolish.<br>
&gt;     * Adding brick3, removing brick1, adding brick1, removing brick3.<br>
This looks to be the best option IMO. You could go for replace brick option but that doesnt protect you from data loss. <br>
&gt;<br>
&gt; Is there a better way? Preferably one that doesn’t need brick3 because I don’t have a brick that large lying around.<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></p>