Linux - resize partition and XFS file system after physical/virtual disk resize

Published on Author admin

To resize partition and XFS file system under Linux OS after physical/virtual disk resize:

#check current storage layout
lsblk

#resize "1" partition on /dev/vda disk device
growpart /dev/vda 1

#resize XFS file system
xfs_growfs /dev/vda1