3个tikv,缩容扩容一个后,无法启动

最后这次完成后,并没有生成 启动脚本,生成的内容如图

这是 198 tikv节点,部署在 /data/deploy 下

  1. curl -X DELETE pd-addr:port/pd/api/v1/stores/remove-tombstone 执行清理tombstone信息
  2. 麻烦重新执行 bootstrap.yml 和deploy 看看是否有报错
  3. 如果确认成功,再执行start,多谢

执行了 bootstrap.yml,有提示信息,硬盘错误信息。

[172.7.160.198]: Ansible FAILED! => playbook: bootstrap.yml; TASK: machine_benchmark : fio randread benchmark on tikv_data_dir disk; message: {"changed": true, "cmd": "cd /data/deploy/data/fio && ./fio -ioengine=psync -bs=32k -fdatasync=1 -thread -rw=randread -size=10G -filename=fio_randread_test.txt -name='fio randread test' -iodepth=4 -runtime=60 -numjobs=4 -group_reporting --output-format=json --output=fio_randread_result.json", "delta": "0:00:00.873657", "end": "2020-04-18 17:09:47.356497", "msg": "non-zero return code", "rc": 4, "start": "2020-04-18 17:09:46.482840", "stderr": "fio: io_u error on file fio_randread_test.txt: Input/output error: read offset=1267466240, buflen=32768\
fio: io_u error on file fio_randread_test.txt: Input/output error: read offset=1644658688, buflen=32768\
fio: io_u error on file fio_randread_test.txt: Input/output error: read offset=2934145024, buflen=32768\
fio: io_u error on file fio_randread_test.txt: Input/output error: read offset=2934865920, buflen=32768", "stderr_lines": ["fio: io_u error on file fio_randread_test.txt: Input/output error: read offset=1267466240, buflen=32768", "fio: io_u error on file fio_randread_test.txt: Input/output error: read offset=1644658688, buflen=32768", "fio: io_u error on file fio_randread_test.txt: Input/output error: read offset=2934145024, buflen=32768", "fio: io_u error on file fio_randread_test.txt: Input/output error: read offset=2934865920, buflen=32768"], "stdout": "", "stdout_lines": []}

原本是个新盘,tikv故障停止后,发现硬盘有坏区,新盘尚未更换,暂时先使用这个,有这错误信息是不是无法继续部署这个节点了

这个报错在读写盘的时候有问题,还是把这个故障盘换掉吧,再扩容吧

好的,不过缩容扩容尝试几次了,这个错误不是每次都报。

辛苦你了,谢谢哦

应该的,等换了盘以后有问题在反馈

好的:grinning:

:handshake: