Linux (13) CentOS 7 VMware extended Linux hard disk space

Source: Internet
Author: User

1, start the VMware program, click on the hard disk, pop up the virtual Machine Settings window, select the hard disk, click on the lower right of the extension, enter the expansion of the desired capacity, click on the extension:

2, start Linux, log in as root, perform fdisk-l view disk information:

Delete logical partition: FDISK/DEV/SDA, D-4

Create logical partition: FDISK/DEV/SDA, N-, enter (start sector selection default), enter (end sector selection default)

New partition on logical partition: FDISK/DEV/SDA-N, carriage return (Start Sector selection default), +2048m (Sda5 swap)

New partition on logical partition: FDISK/DEV/SDA-N, carriage return (Start Sector selection default), +1000m (SDA6)

...

Now partition settings information in memory, write to disk: Fdisk/dev/sda W

Let the core know that the disk has changed: FDISK/DEV/SDA-Partprobe

Finally, use Fdisk-l to view the disk information

Linux (13) CentOS 7 VMware extended Linux hard disk space

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.