[Gluster-users] How to remove dead peer, osrry urgent again :(

Lindsay Mathieson lindsay.mathieson at gmail.com
Tue Jun 13 01:42:27 UTC 2017


On 13 June 2017 at 11:15, Atin Mukherjee <amukherj at redhat.com> wrote:

> This looks like a bug in the error code as the error message is wrong.
> I'll take a look at it and get back.
>


I had a thought (they do happen) and tried some further testing.

root at gh1:~# gluster peer status
Number of Peers: 2

Hostname: gh2.brian.softlog
Uuid: b59c32a5-eb10-4630-b147-890a98d0e51d
State: Peer in Cluster (Connected)

Hostname: gh3.brian.softlog
Uuid: 825afc5c-ead6-4c83-97a0-fbc9d8e19e62
State: Peer in Cluster (Disconnected)
root at gh1:~# *gluster peer detach gh3*
peer detach: failed: gh3 is not part of cluster
root at gh1:~# *gluster peer detach gh3.brian.softlog*
peer detach: success


Specifying the FQDN of the peer seems to do the trick, with no need for
force either.

nb: Just using the host name while the host is up does work.

-- 
Lindsay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170613/3fc52bac/attachment.html>


More information about the Gluster-users mailing list