<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 <volname> <old-brick> <new-brick></div><div> </div><div>where both <old-brick> and <new-brick> are part of the gluster setup, but it wouldn't let me do this complaining that:</div>
<div> </div><div>Brick: <new-brick> 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>