resizing partitions under Linux (Centos) (for example, home and root partitions)

Source: Internet
Author: User

In the installation of new systems, sometimes can not estimate or wrong partition size, often lead to the operation behind us is greatly inconvenient, such as a partition is too small, resulting in software installation will be reported when the installation space is not enough, which is very troublesome. Here, I'll record the whole process of resizing the home and root partitions after the error partition!  1. View the existing partition status of our machine note the information in the red box, which is the partition path that we want to change later. By the above we can find that the root partition and the home partition produce great irrationality, the home partition is too large, so here we will reduce the storage space on the home partition and add the compressed storage space under root. 2. Uninstall our home section, and compress our home partition size 3. At this time we reload our home directory, and by running the results we can see that we have compressed the home partition to 20G and then we have finished compressing the home and reloading it, such as: 4. We have processed the home block in three steps above, but our free hard drive has not been added to RO OT, so the next step is to add the compressed disk space to the root: this reload and mount the process will take a little time, but we can also continue to see the size of the letter during this time, we will find that the root of the size of the letter will be a little increased up, For example: from the final result we can see that we have compressed the free drive in the home 812G added to the root so that our root space is instantly increased. So our aim is achieved. This article turns from: 65437609

HTTPS  DetailXBasic Translationabbr. Hypertext Transfer Protocol security (Hyper Text Transfer Protocol)Network explanationHttps:http Securehttps Tracker: Support Android https: Communication security

resizing partitions under Linux (Centos) (for example, home and root partitions)

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.