The problem is a little more unusual, i have a glusterfs cluster - suppose with 4 node and some volumes. If one of my node restarts there can be two scenario:
The node restarts with the same IP address and all files of previous node, in that case this nodes gets connected to the glusterfs cluster with no other efforts.
The nodes restarts with the previous data but this time the IP of the node is changed. So peer status in other nodes shows one disconnected nodes, this is the previous node that was disconnected. But the current node that started is not running. even glusterd failed to run in this node.
My question is how can i connect the new node that already had the data as a replacement for the previous node.
**What I tried so far
- i deleted the /var/lib/glusterd folder in new node. restarted glusterd. repeer it from another good node. Try replacing the old node with new one, but didn't work.