echo 1 > /sys/class/block/sda/device/rescanVerify with lsblk — disk should now show the new size.
growpart /dev/sda 1For ext4:
resize2fs /dev/sda1For xfs:
xfs_growfs /- All commands require root
- Works online (no reboot needed)
growpartis in thecloud-guest-utilspackage (Debian/Ubuntu) orcloud-utils-growpart(RHEL/CentOS)