xfs tips

January 5th, 2018

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

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

Good Luck!

Categories: IT Architecture, Linux, Systems Tags:
Comments are closed.