We need to create xfs
file-system on kafka
disk
The special thing about kafka
disk is the disk size
kafka
disk have 20TB
size in our case
I not sure about the following mkfs
, but I need advice to understand if the following cli , is good enough to create xfs
file system on huge disk ( kafka
machine )
DISK=sdb
mkfs.xfs -L kafka /dev/$DISK -f
kafka best practice
FileSystem Selection Kafka uses regular files on disk, and such it has no hard dependency on a specific file system. We recommend EXT4 or XFS. Recent improvements to the XFS file system have shown it to have the better performance characteristics for Kafka’s workload without any compromise in stability. Note: Do not use mounted shared drives and any network file systems. In our experience Kafka is known to have index failures on such file systems. Kafka uses MemoryMapped files to store the offset index which has known issues on a network file systems.