* 1. You also want to expand the drive in the VMware installed CentOS7, also do not restart the virtual machine, the size of the/home directory before the expansion is 348G, as shown in: *
* 2. The process of adding a hard disk in the middle can be found in the previous message: *
* 3. Disk expansion in the operating system layer of the official start, just beginning with the normal LVM operation is the same, here no longer repeat. *
(1) operate with the normal LVM creation process.
(2) pit appears: If you follow the previous way, there will be an error message:
Tells you that a valid file system Super block cannot be found because the default file system in CentOS 7 is XFS, unlike CentOS 6, so the command to use here is Xfs_growfs, not RESIZE2FS:
As you can see, the home/home partition has been expanded from 348G to 548G.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
CentOS-7 Disk Expansion