# Restarting node on cluster fails gvwstate.dat no such file or directory

**URL:** https://forums.percona.com/t/restarting-node-on-cluster-fails-gvwstate-dat-no-such-file-or-directory/13345
**Category:** Percona XtraDB Cluster 5.x
**Created:** [December 3, 2021, 12:56pm UTC](https://forums.percona.com/t/restarting-node-on-cluster-fails-gvwstate-dat-no-such-file-or-directory/13345 "2021-12-03T12:56:31Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![danarashad](https://avatars.discourse-cdn.com/v4/letter/d/7ab992/32.png) [@danarashad](https://forums.percona.com/u/danarashad)
#### Post date: [December 3, 2021, 12:56pm UTC](https://forums.percona.com/t/restarting-node-on-cluster-fails-gvwstate-dat-no-such-file-or-directory/13345/1 "2021-12-03T12:56:31Z")

</div>

I had a bad failure due to folder deletion. I logged into my server and tried starting the node. I am getting the following error `WSREP: Fail to access the file (/db//gvwstate.dat) error (No such file or directory). It is possible if node is booting for first time or re-booting after a graceful shutdown` I checked the directory and the gvwstate.dat file is not there. I do have `galera.cache grastate.dat` files in the directory.  
On the node that is down the `grastate.dat` file has

```
# GALERA saved state
version: 2.1
uuid: 00000000-0000-0000-0000-000000000000
seqno: -1
safe_to_bootstrap: 0

```

On my donor node the grastate.dat file is

```
# GALERA saved state
version: 2.1    
uuid: febfad99-09fe-11ea-ad83-57c73422d738
seqno: -1
safe_to_bootstrap: 0

```

Help

---

<div class="post-metadata">

### Author: ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)
#### Post date: [December 3, 2021, 4:11pm UTC](https://forums.percona.com/t/restarting-node-on-cluster-fails-gvwstate-dat-no-such-file-or-directory/13345/2 "2021-12-03T16:11:47Z")

</div>

Don’t worry about the gvwstate.dat file.

On the failed node, simply delete the entire data directory and start mysql. This will force an SST from the donor node. This is the easiest and simplest way to get the node back.

---

<div class="post-metadata">

### Author: ![danarashad](https://avatars.discourse-cdn.com/v4/letter/d/7ab992/32.png) [@danarashad](https://forums.percona.com/u/danarashad)
#### Post date: [December 6, 2021, 12:00pm UTC](https://forums.percona.com/t/restarting-node-on-cluster-fails-gvwstate-dat-no-such-file-or-directory/13345/3 "2021-12-06T12:00:49Z")

</div>

In my.cnf I had to use rsync as the `--wsrep-sst-method` instead of `xtrabackup-v2`.

---

<div class="post-metadata">

### Author: ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)
#### Post date: [December 6, 2021, 1:55pm UTC](https://forums.percona.com/t/restarting-node-on-cluster-fails-gvwstate-dat-no-such-file-or-directory/13345/4 "2021-12-06T13:55:15Z")

</div>

@danarashad rsync is extremely legacy and should not be used. You should endeavor to correct the issue with xtrabackup.

---

<div class="post-metadata">

### Author: ![danarashad](https://avatars.discourse-cdn.com/v4/letter/d/7ab992/32.png) [@danarashad](https://forums.percona.com/u/danarashad)
#### Post date: [December 6, 2021, 2:15pm UTC](https://forums.percona.com/t/restarting-node-on-cluster-fails-gvwstate-dat-no-such-file-or-directory/13345/5 "2021-12-06T14:15:34Z")

</div>

For some reason using xtrabackup kept failing. So I opted for rsync method.

---

<div class="post-metadata">

### Author: ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)
#### Post date: [December 6, 2021, 2:43pm UTC](https://forums.percona.com/t/restarting-node-on-cluster-fails-gvwstate-dat-no-such-file-or-directory/13345/6 "2021-12-06T14:43:18Z")

</div>

> [@danarashad](#):
>
> For some reason using xtrabackup kept failing.

Yes, I understand that, but rsync is a dead/deprecated method and is only there for legacy purposes. You should post more information from your logs to understand why xtrabackup method is failing.
