TiKV Issue: IO Error - fallocate

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

Original topic: TiKV出现问题IO Error: fallocate

| username: 小码农-小牛马

[Test Environment for TiDB]
[TiDB Version] uhub.service.ucloud.cn/pingcap/tikv:v6.1.0 CrashLoopBackOff
[Reproduction Path] Using Alibaba Cloud ACK, then set up NFS by myself, NFS is built on ext4 file system
[Encountered Problem: Phenomenon and Impact] Encountered “failed to open raft engine: Other("[components/raft_log_engine/src/engine.rs:464]: IO Error: fallocate")”
[Resource Configuration]
[TiDB Operator Version]: tidb-operator:v1.3.9
[K8s Version]: 1.20.11-aliyun.1
[Attachments: Screenshots/Logs/Monitoring]

| username: xfworld | Original post link

It’s probably the cloud storage that’s not working well. Someone has tried this before, you can search for it.

| username: 小码农-小牛马 | Original post link

I tried Alibaba Cloud’s NAS again, and it seems to have issues as well.

| username: Kongdom | Original post link

Your result is exactly the opposite of this classmate’s test results :rofl:

| username: 小码农-小牛马 | Original post link

Yes, classmate, can you help me? I really don’t know how to do it.

| username: Kongdom | Original post link

It is estimated that, as mentioned in the post, it is a cloud server kernel issue.

| username: xfworld | Original post link

Switch to a local virtual machine or physical server, and it will be fine.

Or switch to a better storage service from Alibaba Cloud, and stop using NFS.

| username: 小码农-小牛马 | Original post link

I switched to Alibaba Cloud’s NAS. I’ve tried everything except buying a cloud disk.

| username: 小码农-小牛马 | Original post link

Could the developers please take a look and help resolve this issue? It would be very awkward if it can’t be deployed on Alibaba Cloud.

| username: Min_Chen | Original post link

Hello, are you using NFS as the disk for TiKV?

| username: 小码农-小牛马 | Original post link

Yes, I used this method.

| username: Min_Chen | Original post link

Hello,
It is not recommended to use NFS for TiKV volumes; local PV is recommended.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.