Questo contenuto non è disponibile nella lingua selezionata.
3.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, see
man xfs_growfs
.