After install Centos7, found disk size less, so I need resize the disk, you can use some tools to achieve the function, e.g: GParted or disk-genius. But if your Server disk format is LVM, you can easy to manual adjust that. I don’t know how to resize LVM by Gparted or disk-genius. For this article, will discuss how to adjust Centos7/Ubuntu14.04 by LVM. That should same action/command in Centos and Ubuntu.
If you want to check steps in Ubuntu, can check this attachment: lvm-resize-ubuntu14.04
1. Follow disk info
Check system contents by “sudo df -H”, check all disk status by “sudo fdisk -l”.
[root@frank ~]# df -H Filesystem Size Used Avail Use% Mounted on /dev/mapper/myvg-root 7.4G 7.4G 4.0M 100% / devtmpfs 2.1G 0 2.1G 0% /dev tmpfs 2.1G 250k 2.1G 1% /dev/shm tmpfs 2.1G 9.5M 2.1G 1% /run tmpfs 2.1G 0 2.1G 0% /sys/fs/cgroup /dev/mapper/myvg-home 731M 140M 591M 20% /home /dev/sda1 521M 126M 396M 25% /boot /dev/sr0 4.2G 4.2G 0 100% /run/media/root/CentOS 7 x86_64