Show Table of Contents
8.4. Increasing the Size of an XFS File System
An XFS file system may be grown while mounted using the
xfs_growfs command:
# xfs_growfs /mount/point -D size
The
-D size option grows the file system to the specified size (expressed in file system blocks). Without the -D size option, xfs_growfs will grow the file system to the maximum size supported by the device.
Before growing an XFS file system with
-D size, ensure that the underlying block device is of an appropriate size to hold the file system later. Use the appropriate resizing methods for the affected block device.
Note
While XFS file systems can be grown while mounted, their size cannot be reduced at all.
For more information about growing a file system, refer to
man xfs_growfs.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.