Resizing an XFS filesystem is very easy.
- The resize has to be done whilst the file system is mounted.
To increase the filesystem across an existing LVM, following the instructions on /AddingAnotherDisk up to step 5.
- To resize the filesystem to take up all the available space in the logical volume, run:
- It is important to note that the argument supplied is the mount point, not the device node.
There are plenty of options to restrict the size to which the filesystem expands and other aspects of the command's behaviour. Check out man xfs_growfs for more.
The command runs very fast! Verify that it has worked using the df -h command.