<div dir="ltr"><br clear="all"><div><div>Hello,</div><div><br></div><div>I need to move a brick to another location on the filesystem.  </div><div>My initial plan was to stop the gluster server with </div><div>1. service glusterfs-server stop </div>
<div>2. rsync -ap brick3 folder to new volume on server </div><div>3. umount old volume and bind mount the new to the same location.</div><div><br></div><div>However I stopped the glusterfs-server on the node and there was still background processes running glusterd. So I was not sure how to safely stop them.</div>
<div><br></div><div><br></div><div>I also attempted to replace-brick to a new location on the server but that did not work with &quot;volume replace-brick: failed: Commit failed on localhost. Please check the log file for more details.&quot;</div>
<div><br></div><div>Then attempted remove brick with </div><div><br></div><div>&quot;volume remove-brick gdata2tb replica 2 10.0.1.31:/mnt/data2tb/gbrick3 start&quot;</div><div>gluster&gt; volume remove-brick gdata2tb 10.0.1.31:/mnt/data2tb/gbrick3 status</div>
<div>volume remove-brick: failed: Volume gdata2tb is not a distribute volume or contains only 1 brick.</div><div>Not performing rebalance</div><div>gluster&gt;</div><div><br></div><div><br></div><div><br></div><div>Volume Name: gdata2tb</div>
<div>Type: Replicate</div><div>Volume ID: 6cbcb2fc-9fd7-467e-9561-bff1937e8492</div><div>Status: Started</div><div>Number of Bricks: 1 x 3 = 3</div><div>Transport-type: tcp</div><div>Bricks:</div><div>Brick1: 10.0.1.31:/mnt/data2tb/gbrick3</div>
<div>Brick2: 10.0.1.152:/mnt/raid10/gbrick3</div><div>Brick3: 10.0.1.153:/mnt/raid10/gbrick3</div></div></div>