xfs_growfs

From RaySoft

xfs_growfs expands an existing XFS filesystem. The mount-point argument is the pathname of the directory where the filesystemis mounted. The filesystem must be mounted to be grown (see mount). The existing contents of the filesystem are undisturbed, and the added space becomes available for additional file storage.[1]

Documentation

Syntax

xfs_growfs [PARAMETER ...] MOUNTPOINT

Parameters

-d SIZE, -D SIZE
Specifies the SIZE that the data section of the filesystem should be grown. If the -D size option is given, the data section is grown to that size, otherwise the data section is grown to the largest size possible with the -d option. The size is expressed in filesystem blocks.
-e
Allows the real-time extent size to be specified. In mkfs.xfs this is specified with -r extsize=n.
-m
Specify a new value for the maximum percentage of space in the filesystem that can be allocated as inodes. In mkfs.xfs this is specified with -i maxpct=n.
-n
Specifies that no change to the filesystem is to be made. The filesystem geometry is printed, and argument checking is performed, but no growth occurs.
-r SIZE, -R SIZE
Specifies the SIZE that the real-time section of the filesystem should be grown. If the -R size option is given, the real-time section is grown to that size, otherwise the real-time section is grown to the largest size possible with the -r option. The size is expressed in filesystem blocks. The filesystem does not need to have contained a real-time section before the xfs_growfs operation.
-t
Specifies an alternate mount table file (default is /proc/mounts if it exists, else /etc/mtab). This is used when working with filesystem mounted without writing to /etc/mtab file - refer to mount for further details.

References

  1. man 8 'xfs_growfs'