In the Dashboard, TiFlash disk information displays non-data directories (This issue exists in both V5.4 and V6.1)

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

Original topic: Dashboard中TiFlash磁盘信息显示非数据目录(V5.4和V6.1都存在该问题)

| username: 我是咖啡哥

[TiDB Version] V5.4.0\V6.1.0
[Encountered Issue]
The TiFlash disk information displayed in the Dashboard shows a non-data directory. Initially, it was normal, but after mounting a relatively large backup disk, it started displaying that backup disk. It seems to display the larger disk. The TiKV nodes also have backup disks mounted, but their display is normal.

V5.4.0:

V6.1.0:

select * from information_schema.CLUSTER_HARDWARE where type='tiflash' and DEVICE_TYPE='disk' and name='path';


Actual data disk is: /opt

| username: ddhe9527 | Original post link

I have also encountered this in v5.4.0, it shows the /boot directory :joy:

| username: hey-hoho | Original post link

Refer to this post for source code analysis:

| username: tidb狂热爱好者 | Original post link

There is indeed this problem, showing an error. I mounted an NFS.