XFS File System in Linux

The XFS file system is an extension of the extent file system. The XFS is a high-performance 64-bit journaling file system. The support of the XFS was merged into Linux kernel in around 2002 and In 2009 Red Hat Enterprise Linux version 5.4 usage of the XFS file system. XFS supports maximum file size of 8 EB. The max volume size support by XFS is 16 EB and max file length is 255. Now, the RHEL 7.0 uses XFS as the default filesystem. The XFS file system can also be defragmented and enlarged while mounted and active. In addition, Red Hat Enterprise Linux 7 supports backup and restore utilities specific to XFS.

An important feature is the allocation group, which makes XFS a highly scalable file system that allows you to store large numbers of files, and very large files. Each allocation group manages its own inodes and free space and by creating allocation groups, you can make sure that several processes and threads can service the file system simultaneously, which can increase performance.

XFS is not supported for use with the root (/) or boot file systems on Oracle Linux.

Difference between Ext4 and XFS:

Create a file systemmkfs.ext4 or mkfs.ext3mkfs.xfs
File system checke2fsckxfs_repair
Resizing a file systemresize2fsxfs_growfs
Save an image of a file systeme2imagexfs_metadump and xfs_mdrestore
Label or tune a file systeme2imagexfs_admin
Backup a file systemdump and restorexfsdump and xfsrestore

Enjoy it!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.