<div dir="ltr"><div><div><div><div>How can I recover a lost node or disk in a cluster?<br><br></div>I have a four node cluster, each with a single brick. I've created a volume like so:<br><br>sudo gluster volume create gv0 stripe 2 replica 2 transport tcp \<br>
devlab06:/scratch/brick01 \<br> devlab07:/scratch/brick01 \<br> devlab08:/scratch/brick01 \<br> devlab09:/scratch/brick01<br>sudo gluster volume start gv0<br>gluster volume set gv0 cluster.stripe-block-size 134217728<br>
<br></div>I mounted this from another node, copied some large files to it then logged into one of the nodes and "crashed" it by executing kill -9 on every gluster process. After this I was still able to read all data from the cluster and verify via md5sum no issues.<br>
<br></div>I nuked all data in my "crashed" node and now have a completely empty /scratch/brick01 directory, how do I integrate this into the volume? I tried the steps in the 'Gluster 3.2: Brick Restoration - Replace Crashed Server' page, but that doesn't seem to apply to 3.4.1... I also tried simply removing the brick, but that failed.<br>
<br></div>Running /etc/init.d/glusterd start fails to start anything, but I can run interactively via /usr/local/sbin/glusterd --no-daemon.<br><div><br>Thanks in advance for any assistance.<br><div><br></div><div>-K<br></div>
</div></div>