Error during single-node TiDB deployment: `tiup tidb-lightning -config tidb-lightning.toml` reports "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."

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

| username: TiDBer_7ZFdPrJY

[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]

| username: Miracle | Original post link

TiKV is running out of space.

| username: TiDBer_7ZFdPrJY | Original post link

How to solve this! I adjusted the VM memory from 4GB to 8GB, but it still reports an error when I re-execute it.

| username: 大飞哥online | Original post link

It’s not memory, it’s disk.

| username: Fly-bird | Original post link

Increase the disk size.

| username: tidb菜鸟一只 | Original post link

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?

| username: 像风一样的男子 | Original post link

The disk space of the TiKV node is insufficient.

| username: Jolyne | Original post link

Next time before importing, you can check if there is enough disk storage in advance.

| username: Kongdom | Original post link

The remaining available storage space is less than 10%, please increase the storage space and try again.

| username: TiDBer_小阿飞 | Original post link

The remaining space of TIKV is less than 10%. Expand TIKV.

| username: TiDBer_vfJBUcxl | Original post link

Insufficient remaining storage space in TiKV

| username: 普罗米修斯 | Original post link

127.0.0.1:20160: This node’s disk capacity is less than 10%, expand it first before importing.

| username: cassblanca | Original post link

Shut down the virtual machine and expand the disk.

| username: Tom_wu | Original post link

Let me translate it for you :smile:
TiKV’s storage space is less than 10%; please expand the storage and try again.

| username: zhanggame1 | Original post link

The TiKV disk space is insufficient.

| username: system | Original post link

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