Pd error "snap: snapshot file doesn't exist

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: pd报错"snap: snapshot file doesn’t exist

| username: Hacker_ZfVkbFGs

【TiDB Usage Environment】Production
【TiDB Version】v5.3.0
【Encountered Issue】


Causing a single PD to fail to start, while the other two PDs are normal
【Issue Phenomenon and Impact】
After the PD server restarts, this information appears

| username: cheng | Original post link

  1. After a power failure, the directory may become read-only. Restore the read-only files from the operating system level.

  2. If a PD node in the TiDB cluster fails to start, it is recommended to use the pd-recover command to recover.

https://pingcap.com/docs-cn/stable/reference/tools/pd-recover/#pd-recover-使用文档

[Reference Case]

System power failure, restart TiDB cluster after power is restored, PD node startup error, 2 out of 3 PD nodes report errors

https://asktug.com/t/tidb-pd-3-pd/1369