Extend LVM partition with XFS

1. Check free space:
#> vgs vgname

2. Extend vg (-r is for auto extend fs):

#> lvextend -r -L +3G /dev/vgname/xfs_part



3.1. Extend xfs
#> xfs_growfs -D


3.2. Extend ext4
#> resize2fs


The “-D size” option extend the file system to the specified size (expressed in file system blocks). Without the -D size option, xfs_growfs will extend the file system to the maximum size supported by the device.