1, extend ago Related Information:
(1) VMware Workstation version:
(2) CentOS version:
(3) before the extended disk and partition information:
2, extended target: the / partition from 30G extended to 40G
3, off the virtual machine, the virtual machine settings edit:
Extended button gray, before the expansion need to delete a snapshot
Resizing virtual disks:
4, open the virtual machine, view disk and partition information:
5, the new partition:
6, the partition effect:
7, a physical disk is initialized to physical volumes the PV : # the pvcreate / dev / sda4
8, extended VG : # vgextend centos7 / dev / sda4
9, extend the LV : # 100 + -l% the lvextend the FREE / dev / Mapper / centos7 the root-
10, extended xfs file system: # xfs_growfs / dev / centos7 / root
11, after viewing the extended disk and partition information: