Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 单机部署tidb,用tidb-lightning迁移sql文件时执行 tiup tidb-lightning -config tidb-lightning.toml命令报错如下:the remaining storage capacity of TiKV(127.0.0.1:20160) is less than 10%; please increase the storage capacity of TiKV and try again
[TiDB Usage Environment] Single Machine Deployment
[TiDB Version] v7.4.0
[Reproduction Path] Operations performed that led to the issue
tiup tidb-lightning -config tidb-lightning.toml
[Encountered Issue: Issue Phenomenon and Impact]
When deploying TiDB on a single machine and using tidb-lightning to migrate SQL files, executing the command tiup tidb-lightning -config tidb-lightning.toml results in the following error: the remaining storage capacity of TiKV (127.0.0.1:20160) is less than 10%; please increase the storage capacity of TiKV and try again
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]
TiKV is running out of space.
How to solve this! I adjusted the VM memory from 4GB to 8GB, but it still reports an error when I re-execute it.
It’s not memory, it’s disk.
Disk space is running low. For storage safety, TiDB imposes space limitations on the disks of TiKV nodes, and data cannot be written once it reaches 85% capacity, right?
The disk space of the TiKV node is insufficient.
Next time before importing, you can check if there is enough disk storage in advance.
The remaining available storage space is less than 10%, please increase the storage space and try again.
The remaining space of TIKV is less than 10%. Expand TIKV.
Insufficient remaining storage space in TiKV
127.0.0.1:20160: This node’s disk capacity is less than 10%, expand it first before importing.
Shut down the virtual machine and expand the disk.
Let me translate it for you 
TiKV’s storage space is less than 10%; please expand the storage and try again.
The TiKV disk space is insufficient.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.