make snapshot image first!
make snapshot image first!
make snapshot image first!
Supposed you have only one single xfs (/dev/sda1) partition.
Re-create root partition
(echo d; echo n; echo p; echo 1; echo ; echo; echo w) | sudo fdisk /dev/sda
Then restart (sudo reboot now) server.
Then, grow partition
xfs_growfs /dev/sda1
Verify with:
df -h