Xfs Extension Method Guide for Linux

  

To avoid wasting extra space on the system, it is necessary to extend the XFS file system. How do you extend the XFS file system under Linux? The following small series will introduce you to the Linux extension XFS file system.

Linux Extension XFS File System Steps:

XFS is an open source (GPL) log file system originally developed by Silicon Valley Graphics (SGI) and is now supported by most Linux distributions. In fact, XFS has been adopted by the latest CentOS/RHEL 7 as its default file system. Among its many features, it includes the "Online Resizing" feature, which allows existing XFS file systems to be expanded if they are already mounted. However, the reduction of the XFS file system is not yet supported.

To extend an existing XFS file system, you can use the command line tool xfs_growfs, which is available by default on most Linux distributions. Since XFS supports online resizing, the target file system can be attached or not.

The following shows the basic usage of xfs_growfs:

As a target XFS file system extension, you can specify the mount points, disk partitions or logical volumes (when using LVM), Use the number of data blocks to specify the size of the new XFS file system. Xfs_info you can use the command-line tool to check the data block size and number:

To XFS file extension to 1986208:
Previous 12 Next Total 2

Copyright © Windows knowledge All Rights Reserved