<html><head></head><body><div class="ydpa3a74a62yahoo-style-wrap" style="font-family:courier new, courier, monaco, monospace, sans-serif;font-size:16px;"><div></div>
<div>I think it should be like :</div><div>gluster volume remove-brick myvol A:/data B:/data C:/data start</div><div>gluster volume remove-brick myvol A:/data B:/data C/data commit (force)</div><div><br></div><div>Best Regards,</div><div>Strahil Nikolov<br></div><div><br></div>
</div><div id="ydpc339f517yahoo_quoted_2232637276" class="ydpc339f517yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
В петък, 28 юни 2019 г., 5:03:48 ч. Гринуич-4, Dave Sherohman <dave@sherohman.org> написа:
</div>
<div><br></div>
<div><br></div>
<div>On Thu, Jun 27, 2019 at 12:17:10PM +0530, Nithya Balachandran wrote:<br clear="none">> On Tue, 25 Jun 2019 at 15:26, Dave Sherohman <<a shape="rect" href="mailto:dave@sherohman.org" rel="nofollow" target="_blank">dave@sherohman.org</a>> wrote:<br clear="none">> > My objective is to remove nodes B and C entirely.<br clear="none">> ><br clear="none">> > First up is to pull their bricks from the volume:<br clear="none">> ><br clear="none">> > # gluster volume remove-brick myvol B:/data C:/data A:/arb1 start<br clear="none">> > (wait for data to be migrated)<br clear="none">> > # gluster volume remove-brick myvol B:/data C:/data A:/arb1 commit<br clear="none">> ><br clear="none">> ><br clear="none">> There are some edge cases that may prevent a file from being migrated<br clear="none">> during a remove-brick. Please do the following after this:<br clear="none">> <br clear="none">> 1. Check the remove-brick status for any failures. If there are any,<br clear="none">> check the rebalance log file for errors.<br clear="none">> 2. Even if there are no failures, check the removed bricks to see if any<br clear="none">> files have not been migrated. If there are any, please check that they are<br clear="none">> valid files on the brick and copy them to the volume from the brick to the<br clear="none">> mount point.<br clear="none">> <br clear="none">> The rest of the steps look good.<br clear="none"><br clear="none">Apparently, they weren't quite right. I tried it and it just gives me<br clear="none">the usage notes in return. Transcript of the commands and output is below.<br clear="none"><br clear="none">Any insight on how I got the syntax wrong?<br clear="none"><br clear="none">--- cut here ---<br clear="none"><a shape="rect" href="mailto:root@merlin" rel="nofollow" target="_blank">root@merlin</a>:/# gluster volume status<br clear="none">Status of volume: palantir<br clear="none">Gluster process TCP Port RDMA Port Online Pid<br clear="none">------------------------------------------------------------------------------<br clear="none">Brick saruman:/var/local/brick0/data 49153 0 Y 17995<br clear="none">Brick gandalf:/var/local/brick0/data 49153 0 Y 9415 <br clear="none">Brick merlin:/var/local/arbiter1/data 49170 0 Y 35034<br clear="none">Brick azathoth:/var/local/brick0/data 49153 0 Y 25312<br clear="none">Brick yog-sothoth:/var/local/brick0/data 49152 0 Y 10671<br clear="none">Brick merlin:/var/local/arbiter2/data 49171 0 Y 35043<br clear="none">Brick cthulhu:/var/local/brick0/data 49153 0 Y 21925<br clear="none">Brick mordiggian:/var/local/brick0/data 49152 0 Y 12368<br clear="none">Brick merlin:/var/local/arbiter3/data 49172 0 Y 35050<br clear="none">Self-heal Daemon on localhost N/A N/A Y 1209 <br clear="none">Self-heal Daemon on saruman.lub.lu.se N/A N/A Y 23253<br clear="none">Self-heal Daemon on gandalf.lub.lu.se N/A N/A Y 9542 <br clear="none">Self-heal Daemon on mordiggian.lub.lu.se N/A N/A Y 11016<br clear="none">Self-heal Daemon on yog-sothoth.lub.lu.se N/A N/A Y 8126 <br clear="none">Self-heal Daemon on cthulhu.lub.lu.se N/A N/A Y 30998<br clear="none">Self-heal Daemon on azathoth.lub.lu.se N/A N/A Y 34399<br clear="none"> <br clear="none">Task Status of Volume palantir<br clear="none">------------------------------------------------------------------------------<br clear="none">Task : Rebalance <br clear="none">ID : e58bc091-5809-4364-af83-2b89bc5c7106<br clear="none">Status : completed <br clear="none"> <br clear="none"><a shape="rect" href="mailto:root@merlin" rel="nofollow" target="_blank">root@merlin</a>:/# gluster volume remove-brick palantir saruman:/var/local/brick0/data gandalf:/var/local/brick0/data merlin:/var/local/arbiter1/data<br clear="none"><br clear="none">Usage:<br clear="none">volume remove-brick <VOLNAME> [replica <COUNT>] <BRICK> ... <start|stop|status|commit|force><br clear="none"><br clear="none"><a shape="rect" href="mailto:root@merlin" rel="nofollow" target="_blank">root@merlin</a>:/# gluster volume remove-brick palantir replica 3 arbiter 1 saruman:/var/local/brick0/data gandalf:/var/local/brick0/data merlin:/var/local/arbiter1/data<br clear="none"><br clear="none">Usage:<br clear="none">volume remove-brick <VOLNAME> [replica <COUNT>] <BRICK> ... <start|stop|status|commit|force><br clear="none"><br clear="none"><a shape="rect" href="mailto:root@merlin" rel="nofollow" target="_blank">root@merlin</a>:/# gluster volume remove-brick palantir replica 3 saruman:/var/local/brick0/data gandalf:/var/local/brick0/data merlin:/var/local/arbiter1/data<br clear="none"><br clear="none">Usage:<br clear="none">volume remove-brick <VOLNAME> [replica <COUNT>] <BRICK> ... <start|stop|status|commit|force><br clear="none">--- cut here ---<div class="ydpc339f517yqt2129951604" id="ydpc339f517yqtfd77900"><br clear="none"><br clear="none">-- <br clear="none">Dave Sherohman<br clear="none">_______________________________________________<br clear="none">Gluster-users mailing list<br clear="none"><a shape="rect" href="mailto:Gluster-users@gluster.org" rel="nofollow" target="_blank">Gluster-users@gluster.org</a><br clear="none"><a shape="rect" href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="nofollow" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br clear="none"></div></div>
</div>
</div></body></html>