CentOS-7 Disk Expansion

Source: Internet
Author: User

* 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.