Header Shadow Image


psql01 etcd: read wal error (walpb: crc mismatch) and cannot be repaired

To fix:

May 22 00:29:31 psql01 etcd: read wal error (walpb: crc mismatch) and cannot be repaired

Do the following.  First copy the old wal files out of the way:

[root@psql01 wal]# ls -altri
total 375092
201347741 -rw——-. 1 etcd etcd 64000056 Mar 30 15:44 0000000000000027-000000000181bbc9.wal
201347715 -rw——-. 1 etcd etcd 64000104 Apr  1 18:46 0000000000000028-000000000188798c.wal
201347727 -rw——-. 1 etcd etcd 64000056 Apr  3 18:02 0000000000000029-00000000018f2f2c.wal
201347690 -rw——-. 1 etcd etcd 64000040 Apr 22 11:24 000000000000002a-0000000001959a44.wal
201547677 -rw——-. 1 etcd etcd 64000000 Apr 22 11:24 1.tmp
201528077 -rw——-. 1 etcd etcd 64000000 Apr 28 06:06 000000000000002b-0000000001aace2a.wal
 69149887 drwx——. 4 etcd etcd       27 May 22 00:29 ..
201547666 drwx——. 2 etcd etcd     4096 May 22 00:29 .
[root@psql01 wal]# systemctl stop etcd
[root@psql01 wal]# mkdir /root/etcd-backup
[root@psql01 wal]# mv * /root/etcd-backup/

 

Next, start ETCD on the other 2 members.  Once the other two ETCD servers start, start ETCD on psql01 (first cluster member or whatever member was failing in your cluster)

ETCD should now be restarted and synced up from it's donors ( other cluster members ).  

Thx,
TK

Leave a Reply

You must be logged in to post a comment.


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License