# SST fails when trying to join cluster

**URL:** <https://forums.percona.com/t/sst-fails-when-trying-to-join-cluster/8243>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [November 6, 2020, 5:50am UTC](https://forums.percona.com/t/sst-fails-when-trying-to-join-cluster/8243 "2020-11-06T05:50:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom-sl](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@Tom-sl](https://forums.percona.com/u/Tom-sl)\
**Post date:** [November 6, 2020, 5:50am UTC](https://forums.percona.com/t/sst-fails-when-trying-to-join-cluster/8243/1 "2020-11-06T05:50:54Z")

</div>

I had a 3 node cluster set up running server version 5.7.31-34-57 on Ubuntu 18.04. This cluster is replicating from an existing MySQL DB. I tried to add a 4th node and was unable to get it to join the cluster as SST kept failing with nothing being transferred. I restarted one of the servers and when it restarted, it to was unable to rejoin the cluster and I have been unable to get anything to work.

I set up a cluster using the same process earlier in the year with none of these problems. The only difference this time round is that I am using slight different servers with a data disk, and the data dir is /data/var/lib/mysql instead of /var/lib/mysql

I have attached logging from the donor and joiner that seem relevant, but I cannot figure out what to do. I can see it says “No such file or directory” but have no clue what it is referring to. Please help!

[donor.txt](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/1X/7222353c1b6ef23e4ce91ace7d4b72e5b515c2fa.txt)

[joiner.txt](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/1X/c7b8ce6889c784a3fcfea41caa213bcb758a149a.txt)

[joiner.txt](https://forums.percona.com/uploads/short-url/suOXEU1z8sQTLppNW8A1E7Uui4G.txt) (4.51 KB)

---

<div class="post-metadata">

**Author:** ![Evgeniy\_Patlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/evgeniy_patlan/32/41_2.png) [@Evgeniy\_Patlan](https://forums.percona.com/u/Evgeniy_Patlan)\
**Post date:** [November 9, 2020, 6:53am UTC](https://forums.percona.com/t/sst-fails-when-trying-to-join-cluster/8243/2 "2020-11-09T06:53:59Z")

</div>

hi @Tom-sl

As I can see from the log provided:

Process completed with error: wsrep\_sst\_xtrabackup-v2 --role ‘joiner’ --address ‘[joiner ip]’ --datadir ‘/var/lib/mysql/’

But as you mentioned in your question the data dir is /data/var/lib/mysql instead of /var/lib/mysql

So you should modify your my.cnf file and set correct datadir
