Does TiDB support the XFS file system?

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

Original topic: TiDB支持xfs文件系统吗

| username: TiDBer_o0MXVuK4

Does TiDB support the xfs file system?

| username: h5n1 | Original post link

It can be used, but ext4 is more recommended.

| username: 啦啦啦啦啦 | Original post link

| username: 胡杨树旁 | Original post link

It also feels very strange. The xfs format should be a newer file format compared to the ext4 format. Why not choose the xfs format?

| username: h5n1 | Original post link

The image you provided is not visible. Please provide the text you need translated.

| username: 胡杨树旁 | Original post link

Oh, I see. Thanks!

| username: ShawnYan | Original post link

By the way, after TiKV 6, since it no longer relies on RocksDB, can we safely use XFS?

| username: h5n1 | Original post link

KV storage or RocksDB

| username: 裤衩儿飞上天 | Original post link

I’m here to learn why the official recommendation is not to use XFS.

| username: yeminhua | Original post link

The main reason is that there are still some unknown issues with the support of the underlying RocksDB for XFS, so it is not recommended to use it.

| username: TiDBer_o0MXVuK4 | Original post link

Got it, I hope it will be more stable on xfs in the future.

| username: dba-kit | Original post link

I have two clusters here that both use the XFS file system. They have been running for over a year now, and so far, I haven’t encountered any compatibility bugs.

| username: Billmay表妹 | Original post link

I remember there were bugs in version 4.x. Which version are you using?

| username: dba-kit | Original post link

Both are 5.X. Now there is a 6.1 version, which has been running for a month without any issues.

| username: Billmay表妹 | Original post link

Very good practice, so it seems that xfs may not have any major issues at the moment, especially for higher versions (5.x and 6.x).

| username: TiDBer_o0MXVuK4 | Original post link

It’s better to rely on RocksDB.

| username: system | Original post link

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