<div dir="ltr"><div>Hi folks,</div><div> </div><div>Is there an easy way to shrink the size of a gluster volume by replacing some of its constituent disks, and moving the data to other constituent disks?</div><div> </div><div>
I did</div><div> </div><div>gluster volume replace-brick &lt;volname&gt; &lt;old-brick&gt; &lt;new-brick&gt;</div><div> </div><div>where both &lt;old-brick&gt; and &lt;new-brick&gt; are part of the gluster setup, but it wouldn&#39;t let me do this complaining that:</div>
<div> </div><div>Brick: &lt;new-brick&gt; not available. Brick may be containing or be contained by an existing brick.</div><div> </div><div>Can I remove the new-brick, wipe off the gluster artifacts [the trusted.XXX parameters], and then do the replace-brick? Will that cause any data loss?</div>
<div> </div><div>Thanks,</div><div>Hari</div></div>