solved duplicate hostname or contents
1 |
|
When you join a cluster, you are reminded that it already exists, but the same node does not exist in the cluster.
you can do this.
1 |
|
example:
first, we list all node to check, if the node exists, we should not continue the operation, we need to modify the name of the node that is joining the cluster to avoid conflicts with existing ones.
1 |
|
1 |
|
Now the homenas-vm node does not exist. But the logs tell us that the cluster already has the password, it doesn’t match the current one.
Then we need to manually delete the old password in the cluster and let the new node join.
you can use this command to show all secrets, the node password in here.
1 |
|
then you will see all secrets.
1 |
|
if the homenas-vm is invalid, we need to delete it manually.
1 |
|
it’s done!
solved duplicate hostname or contents
https://blog.justforlxz.com/2023/02/01/solved-duplicate-hostname-or-contents/