VMware Workstation 15.5 Pro Extended CentOS 7.7 root partition disk capacity

1, extend ago Related Information:

(1) VMware Workstation version:

image.png

(2) CentOS version:

image.png

(3) before the extended disk and partition information:

image.png

image.png

2, extended target: the / partition from 30G extended to 40G

3, off the virtual machine, the virtual machine settings edit:

image.png

Extended button gray, before the expansion need to delete a snapshot

image.png

Resizing virtual disks:

image.png

image.png

image.png

4, open the virtual machine, view disk and partition information:

image.png

5, the new partition:

image.png

6, the partition effect:

image.png

7, a physical disk is initialized to physical volumes the PV : # the pvcreate / dev / sda4

image.png

8, extended VG : # vgextend centos7 / dev / sda4

image.png

9, extend the LV : # 100 + -l% the lvextend the FREE / dev / Mapper / centos7 the root-

image.png

10, extended xfs file system: # xfs_growfs / dev / centos7 / root

image.png

11, after viewing the extended disk and partition information:

image.png


Guess you like

Origin blog.51cto.com/qiuyue/2446050