[FAQ] tikv 启动报错 check critical config failed, error "check critical config failed, err StringError(\"storage data dir have been changed, former data dir is , current data dir is /data/tidb/deploy/data_1/data

[问题澄清]

tikv 启动报错:

check critical config failed, error “check critical config failed, err StringError(“storage data dir have been changed, former data dir is , current data dir is /data/tidb/deploy/data_1/data, please check if it is expected.”)”

[原因分析]

tikv 的目录可能更换过

[解决方案]

mv 移动 last_tikv.toml 到其他非 tikv 目录,重启 tikv

[参考案例]