Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 物理空间占用疑问
[TiDB Usage Environment] Production Environment
[Encountered Issue: Problem Phenomenon and Impact]
Using the df -Th
command to check disk space, the maximum usage is 72G.

In Grafana, the chart shows the region size as 380G.
At the same time, it also shows that one node is down and another node is running out of space.

The remaining two nodes are continuously balancing. Is it because they both think they are running out of space? Is this a bug?
However, the current physical environment has 800G of available space. I am worried that TiDB calculates based on a single replica of 300G. If it calculates based on 300G, then there will definitely be insufficient space.
Have you configured the capacity?
The store_region_size should not be the actual disk space size. In my cluster, each TiKV disk usage is 400G, but the store_region_size is 2T, which feels like a bit more than 5 times, similar to your situation.
Configured, the value is set to 18G, while the default should be 57G. Will reducing it have any impact?
I am asking about raftstore.capacity
This is not configured separately; the default value is used.
So theoretically, the default value is the size of the disk in your tikv data directory.
Moreover, your df graph does not match the size of your TiKV regions.
It should be similar to this
The right side is prompting “low space”.
Your monitoring is strange. The total capacity is 2T, with 15G used. However, there are 338,336 regions. And the normal storage node is 0.
That’s incredible 
Has any operation been performed on this cluster? For example, br backup and restore or lightning local mode import.
Let’s see what’s going on here
What about the disk space usage in the Dashboard?
I have done BR backups, but I don’t think I have done BR restores. There are a lot of empty regions.
I just upgraded to 5.4.3. Shortly after the upgrade, it showed normal here, but after a while, it turned back to 300G. It’s very strange.
The UI node has an issue, causing me to go offline. Now I can’t view the dashboard.