Add MongoDB Replica Set Nodes with XFS Filesystem Alongside ext4?

Hi everyone,

I have a MongoDB replica set with nodes using ext4, and I’m planning to add new nodes with an XFS filesystem. Will this affect replication or performance in any way? Any advice would be appreciated! (Mongo 6.0)

Hi @Mohammadreza_Vashian

Yes that is fine. Ideally, eventually move all the data directories to XFS.

1 Like

But will running replication on ext4 impact the performance of concurrent writes?

https://www.mongodb.com/blog/post/performance-best-practices-hardware-and-os-configuration

Use XFS File Systems; Avoid EXT4

Use of XFS is strongly recommended to avoid performance issues that have been observed when using EXT4 with WiredTiger

https://www.mongodb.com/docs/manual/administration/production-checklist-operations/#filesystem

With the WiredTiger storage engine, use of XFS is strongly recommended to avoid performance issues found when using EXT4 with WiredTiger.