xfs tips

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 (e.g. pvcreate/vgextend/lvextend).

xfs_growfs /partition/name

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.

While XFS file systems can be grown while mounted, their size cannot be reduced at all.

Good Luck & Best Wishes