I'm running a VM with Centos 7 in a virtual environment (Proxmox). I'm out of space. So I've added some from Proxmox, booted from Gparted Live CD to allocate that space to /dev/sda2, but it won't let me resize. Please advice what can be done.
You have a swap partition between
/dev/sda2 and the free space. Turn off swap, remove the swap partition from
/etc/fstab, then use Gparted to delete the swap partition
/dev/sda3 and the extended partition
/dev/sda4; you will then be able to extend
/dev/sda2 in the adjacent free space.