<div dir="ltr">So the origin of all your problems is basically because of glusterp3 node in rejected state. You should be able to see an error log in glusterp1 &amp; glusterp2 about why this peer has been rejected during handshaking. If you can point me to that log entry, probably that should give us a clue what has gone wrong and based on that I can help you with a workaround.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 14, 2016 at 9:32 AM, Lindsay Mathieson <span dir="ltr">&lt;<a href="mailto:lindsay.mathieson@gmail.com" target="_blank">lindsay.mathieson@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Maybe remove peer glusterp3 via &quot;gluster peer detach&quot; then re add it?<br>
<div><div class="h5"><br>
On 14 October 2016 at 12:16, Thing &lt;<a href="mailto:thing.thing@gmail.com">thing.thing@gmail.com</a>&gt; wrote:<br>
&gt; I seem to have a broken volume on glusterp3 which I odnt seem to be able to<br>
&gt; fix, how to please?<br>
&gt;<br>
&gt; ========<br>
&gt; [root@glusterp1 /]# ls -l /data1<br>
&gt; total 4<br>
&gt; -rw-r--r--. 2 root root 0 Dec 14  2015 file1<br>
&gt; -rw-r--r--. 2 root root 0 Dec 14  2015 file2<br>
&gt; -rw-r--r--. 2 root root 0 Dec 14  2015 file3<br>
&gt; -rw-r--r--. 2 root root 0 Dec 14  2015 file.ipa1<br>
&gt; [root@glusterp1 /]# gluster volume status<br>
&gt; Staging failed on <a href="http://glusterp3.graywitch.co.nz" rel="noreferrer" target="_blank">glusterp3.graywitch.co.nz</a>. Error: Volume volume1 does not<br>
&gt; exist<br>
&gt;<br>
&gt; [root@glusterp1 /]# gluster<br>
&gt; gluster&gt; volume info<br>
&gt;<br>
&gt; Volume Name: volume1<br>
&gt; Type: Replicate<br>
&gt; Volume ID: 91eef74e-4016-4bbe-8e86-<wbr>01c88c64593f<br>
&gt; Status: Started<br>
&gt; Snapshot Count: 0<br>
&gt; Number of Bricks: 1 x 3 = 3<br>
&gt; Transport-type: tcp<br>
&gt; Bricks:<br>
&gt; Brick1: glusterp1.graywitch.co.nz:/<wbr>data1<br>
&gt; Brick2: glusterp2.graywitch.co.nz:/<wbr>data1<br>
&gt; Brick3: glusterp3.graywitch.co.nz:/<wbr>data1<br>
&gt; Options Reconfigured:<br>
&gt; performance.readdir-ahead: on<br>
&gt; gluster&gt; exit<br>
&gt; [root@glusterp1 /]# gluster volume heal volume1 info<br>
&gt; Brick glusterp1.graywitch.co.nz:/<wbr>data1<br>
&gt; Status: Connected<br>
&gt; Number of entries: 0<br>
&gt;<br>
&gt; Brick glusterp2.graywitch.co.nz:/<wbr>data1<br>
&gt; Status: Connected<br>
&gt; Number of entries: 0<br>
&gt;<br>
&gt; Brick glusterp3.graywitch.co.nz:/<wbr>data1<br>
&gt; Status: Connected<br>
&gt; Number of entries: 0<br>
&gt;<br>
&gt; [root@glusterp1 /]# gluster volume info<br>
&gt;<br>
&gt; Volume Name: volume1<br>
&gt; Type: Replicate<br>
&gt; Volume ID: 91eef74e-4016-4bbe-8e86-<wbr>01c88c64593f<br>
&gt; Status: Started<br>
&gt; Snapshot Count: 0<br>
&gt; Number of Bricks: 1 x 3 = 3<br>
&gt; Transport-type: tcp<br>
&gt; Bricks:<br>
&gt; Brick1: glusterp1.graywitch.co.nz:/<wbr>data1<br>
&gt; Brick2: glusterp2.graywitch.co.nz:/<wbr>data1<br>
&gt; Brick3: glusterp3.graywitch.co.nz:/<wbr>data1<br>
&gt; Options Reconfigured:<br>
&gt; performance.readdir-ahead: on<br>
&gt; [root@glusterp1 /]# gluster volume heal volume1 full<br>
&gt; Launching heal operation to perform full self heal on volume volume1 has<br>
&gt; been unsuccessful on bricks that are down. Please check if all brick<br>
&gt; processes are running.<br>
&gt; [root@glusterp1 /]#<br>
&gt; =============<br>
&gt;<br>
&gt; On 14 October 2016 at 12:40, Thing &lt;<a href="mailto:thing.thing@gmail.com">thing.thing@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; So glusterp3 is in a reject state,<br>
&gt;&gt;<br>
&gt;&gt; [root@glusterp1 /]# gluster peer status<br>
&gt;&gt; Number of Peers: 2<br>
&gt;&gt;<br>
&gt;&gt; Hostname: <a href="http://glusterp2.graywitch.co.nz" rel="noreferrer" target="_blank">glusterp2.graywitch.co.nz</a><br>
&gt;&gt; Uuid: 93eebe2c-9564-4bb0-975f-<wbr>2db49f12058b<br>
&gt;&gt; State: Peer in Cluster (Connected)<br>
&gt;&gt; Other names:<br>
&gt;&gt; glusterp2<br>
&gt;&gt;<br>
&gt;&gt; Hostname: <a href="http://glusterp3.graywitch.co.nz" rel="noreferrer" target="_blank">glusterp3.graywitch.co.nz</a><br>
&gt;&gt; Uuid: 5d59b704-e42f-46c6-8c14-<wbr>cf052c489292<br>
&gt;&gt; State: Peer Rejected (Connected)<br>
&gt;&gt; Other names:<br>
&gt;&gt; glusterp3<br>
&gt;&gt; [root@glusterp1 /]#<br>
&gt;&gt;<br>
&gt;&gt; ========<br>
&gt;&gt;<br>
&gt;&gt; [root@glusterp2 /]# gluster peer status<br>
&gt;&gt; Number of Peers: 2<br>
&gt;&gt;<br>
&gt;&gt; Hostname: <a href="http://glusterp1.graywitch.co.nz" rel="noreferrer" target="_blank">glusterp1.graywitch.co.nz</a><br>
&gt;&gt; Uuid: 4ece8509-033e-48d1-809f-<wbr>2079345caea2<br>
&gt;&gt; State: Peer in Cluster (Connected)<br>
&gt;&gt; Other names:<br>
&gt;&gt; glusterp1<br>
&gt;&gt;<br>
&gt;&gt; Hostname: <a href="http://glusterp3.graywitch.co.nz" rel="noreferrer" target="_blank">glusterp3.graywitch.co.nz</a><br>
&gt;&gt; Uuid: 5d59b704-e42f-46c6-8c14-<wbr>cf052c489292<br>
&gt;&gt; State: Peer Rejected (Connected)<br>
&gt;&gt; Other names:<br>
&gt;&gt; glusterp3<br>
&gt;&gt; [root@glusterp2 /]#<br>
&gt;&gt;<br>
&gt;&gt; ========<br>
&gt;&gt;<br>
&gt;&gt; [root@glusterp3 /]# gluster peer status<br>
&gt;&gt; Number of Peers: 2<br>
&gt;&gt;<br>
&gt;&gt; Hostname: <a href="http://glusterp1.graywitch.co.nz" rel="noreferrer" target="_blank">glusterp1.graywitch.co.nz</a><br>
&gt;&gt; Uuid: 4ece8509-033e-48d1-809f-<wbr>2079345caea2<br>
&gt;&gt; State: Peer Rejected (Connected)<br>
&gt;&gt; Other names:<br>
&gt;&gt; glusterp1<br>
&gt;&gt;<br>
&gt;&gt; Hostname: <a href="http://glusterp2.graywitch.co.nz" rel="noreferrer" target="_blank">glusterp2.graywitch.co.nz</a><br>
&gt;&gt; Uuid: 93eebe2c-9564-4bb0-975f-<wbr>2db49f12058b<br>
&gt;&gt; State: Peer Rejected (Connected)<br>
&gt;&gt; Other names:<br>
&gt;&gt; glusterp2<br>
&gt;&gt;<br>
&gt;&gt; ==========<br>
&gt;&gt; on glusterp3 gluster is dead and will not start,<br>
&gt;&gt;<br>
&gt;&gt; [root@glusterp3 /]# systemctl status gluster<br>
&gt;&gt; ● gluster.service<br>
&gt;&gt;    Loaded: not-found (Reason: No such file or directory)<br>
&gt;&gt;    Active: inactive (dead)<br>
&gt;&gt;<br>
&gt;&gt; [root@glusterp3 /]# systemctl restart gluster<br>
&gt;&gt; Failed to restart gluster.service: Unit gluster.service failed to load: No<br>
&gt;&gt; such file or directory.<br>
&gt;&gt; [root@glusterp3 /]# systemctl enable gluster<br>
&gt;&gt; Failed to execute operation: Access denied<br>
&gt;&gt; [root@glusterp3 /]# systemctl enable gluster.service<br>
&gt;&gt; Failed to execute operation: Access denied<br>
&gt;&gt; [root@glusterp3 /]# systemctl start gluster.service<br>
&gt;&gt; Failed to start gluster.service: Unit gluster.service failed to load: No<br>
&gt;&gt; such file or directory.<br>
&gt;&gt;<br>
&gt;&gt; ==========<br>
&gt;&gt;<br>
&gt;&gt; [root@glusterp3 /]# rpm -qa |grep gluster<br>
&gt;&gt; glusterfs-client-xlators-3.8.<wbr>4-1.el7.x86_64<br>
&gt;&gt; glusterfs-server-3.8.4-1.el7.<wbr>x86_64<br>
&gt;&gt; nfs-ganesha-gluster-2.3.3-1.<wbr>el7.x86_64<br>
&gt;&gt; glusterfs-cli-3.8.4-1.el7.x86_<wbr>64<br>
&gt;&gt; glusterfs-api-3.8.4-1.el7.x86_<wbr>64<br>
&gt;&gt; glusterfs-fuse-3.8.4-1.el7.<wbr>x86_64<br>
&gt;&gt; glusterfs-ganesha-3.8.4-1.el7.<wbr>x86_64<br>
&gt;&gt; glusterfs-3.8.4-1.el7.x86_64<br>
&gt;&gt; centos-release-gluster38-1.0-<wbr>1.el7.centos.noarch<br>
&gt;&gt; glusterfs-libs-3.8.4-1.el7.<wbr>x86_64<br>
&gt;&gt; [root@glusterp3 /]#<br>
&gt;&gt;<br>
&gt;&gt; ?<br>
&gt;&gt;<br>
&gt;&gt; On 14 October 2016 at 12:31, Thing &lt;<a href="mailto:thing.thing@gmail.com">thing.thing@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hmm seem I have something rather inconsistent,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; [root@glusterp1 /]# gluster volume create gv1 replica 3<br>
&gt;&gt;&gt; glusterp1:/brick1/gv1 glusterp2:/brick1/gv1 glusterp3:/brick1/gv1<br>
&gt;&gt;&gt; volume create: gv1: failed: Host glusterp3 is not in &#39;Peer in Cluster&#39;<br>
&gt;&gt;&gt; state<br>
&gt;&gt;&gt; [root@glusterp1 /]# gluster peer probe glusterp3<br>
&gt;&gt;&gt; peer probe: success. Host glusterp3 port 24007 already in peer list<br>
&gt;&gt;&gt; [root@glusterp1 /]# gluster peer probe glusterp2<br>
&gt;&gt;&gt; peer probe: success. Host glusterp2 port 24007 already in peer list<br>
&gt;&gt;&gt; [root@glusterp1 /]# gluster volume create gv1 replica 3<br>
&gt;&gt;&gt; glusterp1:/brick1/gv1 glusterp2:/brick1/gv1 glusterp3:/brick1/gv1<br>
&gt;&gt;&gt; volume create: gv1: failed: /brick1/gv1 is already part of a volume<br>
&gt;&gt;&gt; [root@glusterp1 /]# gluster volume show<br>
&gt;&gt;&gt; unrecognized word: show (position 1)<br>
&gt;&gt;&gt; [root@glusterp1 /]# gluster volume<br>
&gt;&gt;&gt; add-brick        delete           info             quota            reset<br>
&gt;&gt;&gt; status<br>
&gt;&gt;&gt; barrier          geo-replication  list             rebalance        set<br>
&gt;&gt;&gt; stop<br>
&gt;&gt;&gt; clear-locks      heal             log              remove-brick     start<br>
&gt;&gt;&gt; sync<br>
&gt;&gt;&gt; create           help             profile          replace-brick<br>
&gt;&gt;&gt; statedump        top<br>
&gt;&gt;&gt; [root@glusterp1 /]# gluster volume list<br>
&gt;&gt;&gt; volume1<br>
&gt;&gt;&gt; [root@glusterp1 /]# gluster volume start gv0<br>
&gt;&gt;&gt; volume start: gv0: failed: Volume gv0 does not exist<br>
&gt;&gt;&gt; [root@glusterp1 /]# gluster volume start gv1<br>
&gt;&gt;&gt; volume start: gv1: failed: Volume gv1 does not exist<br>
&gt;&gt;&gt; [root@glusterp1 /]# gluster volume status<br>
&gt;&gt;&gt; Status of volume: volume1<br>
&gt;&gt;&gt; Gluster process                             TCP Port  RDMA Port  Online<br>
&gt;&gt;&gt; Pid<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ------------------------------<wbr>------------------------------<wbr>------------------<br>
&gt;&gt;&gt; Brick glusterp1.graywitch.co.nz:/<wbr>data1      49152     0          Y<br>
&gt;&gt;&gt; 2958<br>
&gt;&gt;&gt; Brick glusterp2.graywitch.co.nz:/<wbr>data1      49152     0          Y<br>
&gt;&gt;&gt; 2668<br>
&gt;&gt;&gt; NFS Server on localhost                     N/A       N/A        N<br>
&gt;&gt;&gt; N/A<br>
&gt;&gt;&gt; Self-heal Daemon on localhost               N/A       N/A        Y<br>
&gt;&gt;&gt; 1038<br>
&gt;&gt;&gt; NFS Server on <a href="http://glusterp2.graywitch.co.nz" rel="noreferrer" target="_blank">glusterp2.graywitch.co.nz</a>     N/A       N/A        N<br>
&gt;&gt;&gt; N/A<br>
&gt;&gt;&gt; Self-heal Daemon on <a href="http://glusterp2.graywitch.co" rel="noreferrer" target="_blank">glusterp2.graywitch.co</a>.<br>
&gt;&gt;&gt; nz                                          N/A       N/A        Y<br>
&gt;&gt;&gt; 676<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Task Status of Volume volume1<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ------------------------------<wbr>------------------------------<wbr>------------------<br>
&gt;&gt;&gt; There are no active volume tasks<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; [root@glusterp1 /]#<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 14 October 2016 at 12:20, Thing &lt;<a href="mailto:thing.thing@gmail.com">thing.thing@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I deleted a gluster volume gv0 as I wanted to make it thin provisioned.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I have rebuilt &quot;gv0&quot; but I am getting a failure,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ==========<br>
&gt;&gt;&gt;&gt; [root@glusterp1 /]# df -h<br>
&gt;&gt;&gt;&gt; Filesystem                     Size  Used Avail Use% Mounted on<br>
&gt;&gt;&gt;&gt; /dev/mapper/centos-root         20G  3.9G   17G  20% /<br>
&gt;&gt;&gt;&gt; devtmpfs                       1.8G     0  1.8G   0% /dev<br>
&gt;&gt;&gt;&gt; tmpfs                          1.8G   12K  1.8G   1% /dev/shm<br>
&gt;&gt;&gt;&gt; tmpfs                          1.8G  8.9M  1.8G   1% /run<br>
&gt;&gt;&gt;&gt; tmpfs                          1.8G     0  1.8G   0% /sys/fs/cgroup<br>
&gt;&gt;&gt;&gt; /dev/mapper/centos-tmp         3.9G   33M  3.9G   1% /tmp<br>
&gt;&gt;&gt;&gt; /dev/mapper/centos-home         50G   41M   50G   1% /home<br>
&gt;&gt;&gt;&gt; /dev/mapper/centos-data1       120G   33M  120G   1% /data1<br>
&gt;&gt;&gt;&gt; /dev/sda1                      997M  312M  685M  32% /boot<br>
&gt;&gt;&gt;&gt; /dev/mapper/centos-var          20G  401M   20G   2% /var<br>
&gt;&gt;&gt;&gt; tmpfs                          368M     0  368M   0% /run/user/1000<br>
&gt;&gt;&gt;&gt; /dev/mapper/vol_brick1-brick1  100G   33M  100G   1% /brick1<br>
&gt;&gt;&gt;&gt; [root@glusterp1 /]# mkdir /brick1/gv0<br>
&gt;&gt;&gt;&gt; [root@glusterp1 /]# gluster volume create gv0 replica 3<br>
&gt;&gt;&gt;&gt; glusterp1:/brick1/gv0 glusterp2:/brick1/gv0 glusterp3:/brick1/gv0<br>
&gt;&gt;&gt;&gt; volume create: gv0: failed: Host glusterp3 is not in &#39;Peer in Cluster&#39;<br>
&gt;&gt;&gt;&gt; state<br>
&gt;&gt;&gt;&gt; [root@glusterp1 /]# gluster peer probe glusterp3<br>
&gt;&gt;&gt;&gt; peer probe: success. Host glusterp3 port 24007 already in peer list<br>
&gt;&gt;&gt;&gt; [root@glusterp1 /]# gluster volume create gv0 replica 3<br>
&gt;&gt;&gt;&gt; glusterp1:/brick1/gv0 glusterp2:/brick1/gv0 glusterp3:/brick1/gv0<br>
&gt;&gt;&gt;&gt; volume create: gv0: failed: /brick1/gv0 is already part of a volume<br>
&gt;&gt;&gt;&gt; [root@glusterp1 /]# gluster volume start gv0<br>
&gt;&gt;&gt;&gt; volume start: gv0: failed: Volume gv0 does not exist<br>
&gt;&gt;&gt;&gt; [root@glusterp1 /]# gluster volume create gv0 replica 3<br>
&gt;&gt;&gt;&gt; glusterp1:/brick1/gv0 glusterp2:/brick1/gv0 glusterp3:/brick1/gv0 --force<br>
&gt;&gt;&gt;&gt; unrecognized option --force<br>
&gt;&gt;&gt;&gt; [root@glusterp1 /]# gluster volume create gv0 replica 3<br>
&gt;&gt;&gt;&gt; glusterp1:/brick1/gv0 glusterp2:/brick1/gv0 glusterp3:/brick1/gv0<br>
&gt;&gt;&gt;&gt; volume create: gv0: failed: /brick1/gv0 is already part of a volume<br>
&gt;&gt;&gt;&gt; [root@glusterp1 /]#<br>
&gt;&gt;&gt;&gt; ==========<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Obviously something isnt happy here but I have no idea what.......<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; how to fix this please?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Lindsay<br>
______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/<wbr>mailman/listinfo/gluster-users</a></font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div>--Atin<br></div></div>
</div>