I have a centos 7 OS on VM with default partitioning like this:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1T 0 disk
sda1 8:1 0 200M 0 part /boot/efi
sda2 8:2 0 1G 0 part /boot
sda3 8:3 0 98.8G 0 part
- centos-root 253:0 0 50G 0 lvm /
- centos-swap 253:1 0 2G 0 lvm [SWAP]
- centos-home 253:2 0 46.8G 0 lvm /home
In order to increase the /home directory, I added 1TB to the current disk space on VM(as you can see the size of sda above). I'm trying to extend the /home directory and add 1TB to it using fdisk /dev/sda command, but I couldn't manage it. Could anybody please help me? What steps I should take to do this? Any help would be appreciated.