<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 28 Jun 2019 at 14:34, Dave Sherohman <<a href="mailto:dave@sherohman.org">dave@sherohman.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Jun 27, 2019 at 12:17:10PM +0530, Nithya Balachandran wrote:<br>
> On Tue, 25 Jun 2019 at 15:26, Dave Sherohman <<a href="mailto:dave@sherohman.org" target="_blank">dave@sherohman.org</a>> wrote:<br>
> > My objective is to remove nodes B and C entirely.<br>
> ><br>
> > First up is to pull their bricks from the volume:<br>
> ><br>
> > # gluster volume remove-brick myvol B:/data C:/data A:/arb1 start<br>
> > (wait for data to be migrated)<br>
> > # gluster volume remove-brick myvol B:/data C:/data A:/arb1 commit<br>
> ><br>
> ><br>
> There are some edge cases that may prevent a file from being migrated<br>
> during a remove-brick. Please do the following after this:<br>
> <br>
> 1. Check the remove-brick status for any failures. If there are any,<br>
> check the rebalance log file for errors.<br>
> 2. Even if there are no failures, check the removed bricks to see if any<br>
> files have not been migrated. If there are any, please check that they are<br>
> valid files on the brick and copy them to the volume from the brick to the<br>
> mount point.<br>
> <br>
> The rest of the steps look good.<br>
<br>
Apparently, they weren't quite right. I tried it and it just gives me<br>
the usage notes in return. Transcript of the commands and output is below.<br>
<br>
Any insight on how I got the syntax wrong?<br>
<br>
--- cut here ---<br>
root@merlin:/# gluster volume status<br>
Status of volume: palantir<br>
Gluster process TCP Port RDMA Port Online Pid<br>
------------------------------------------------------------------------------<br>
Brick saruman:/var/local/brick0/data 49153 0 Y 17995<br>
Brick gandalf:/var/local/brick0/data 49153 0 Y 9415 <br>
Brick merlin:/var/local/arbiter1/data 49170 0 Y 35034<br>
Brick azathoth:/var/local/brick0/data 49153 0 Y 25312<br>
Brick yog-sothoth:/var/local/brick0/data 49152 0 Y 10671<br>
Brick merlin:/var/local/arbiter2/data 49171 0 Y 35043<br>
Brick cthulhu:/var/local/brick0/data 49153 0 Y 21925<br>
Brick mordiggian:/var/local/brick0/data 49152 0 Y 12368<br>
Brick merlin:/var/local/arbiter3/data 49172 0 Y 35050<br>
Self-heal Daemon on localhost N/A N/A Y 1209 <br>
Self-heal Daemon on <a href="http://saruman.lub.lu.se" rel="noreferrer" target="_blank">saruman.lub.lu.se</a> N/A N/A Y 23253<br>
Self-heal Daemon on <a href="http://gandalf.lub.lu.se" rel="noreferrer" target="_blank">gandalf.lub.lu.se</a> N/A N/A Y 9542 <br>
Self-heal Daemon on <a href="http://mordiggian.lub.lu.se" rel="noreferrer" target="_blank">mordiggian.lub.lu.se</a> N/A N/A Y 11016<br>
Self-heal Daemon on <a href="http://yog-sothoth.lub.lu.se" rel="noreferrer" target="_blank">yog-sothoth.lub.lu.se</a> N/A N/A Y 8126 <br>
Self-heal Daemon on <a href="http://cthulhu.lub.lu.se" rel="noreferrer" target="_blank">cthulhu.lub.lu.se</a> N/A N/A Y 30998<br>
Self-heal Daemon on <a href="http://azathoth.lub.lu.se" rel="noreferrer" target="_blank">azathoth.lub.lu.se</a> N/A N/A Y 34399<br>
<br>
Task Status of Volume palantir<br>
------------------------------------------------------------------------------<br>
Task : Rebalance <br>
ID : e58bc091-5809-4364-af83-2b89bc5c7106<br>
Status : completed <br>
<br>
root@merlin:/# gluster volume remove-brick palantir saruman:/var/local/brick0/data gandalf:/var/local/brick0/data merlin:/var/local/arbiter1/data<br>
<br></blockquote><div><br></div><div><br></div><div>You had it right in the first email.</div><div><br></div><div> gluster volume remove-brick palantir replica 3 arbiter 1 saruman:/var/local/brick0/data gandalf:/var/local/brick0/data merlin:/var/local/arbiter1/data <b>start</b><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Usage:<br>
volume remove-brick <VOLNAME> [replica <COUNT>] <BRICK> ... <start|stop|status|commit|force><br>
<br>
root@merlin:/# 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>
<br>
Usage:<br>
volume remove-brick <VOLNAME> [replica <COUNT>] <BRICK> ... <start|stop|status|commit|force><br>
<br>
root@merlin:/# gluster volume remove-brick palantir replica 3 saruman:/var/local/brick0/data gandalf:/var/local/brick0/data merlin:/var/local/arbiter1/data<br>
<br>
Usage:<br>
volume remove-brick <VOLNAME> [replica <COUNT>] <BRICK> ... <start|stop|status|commit|force><br>
--- cut here ---<br>
<br>
-- <br>
Dave Sherohman<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div></div>