In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "how to resize partitions under Centos/Linux", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to resize partitions under Centos/Linux" this article.
When installing a new system, it is sometimes impossible to estimate or incorrectly divide the partition size, which often leads to great inconvenience in our subsequent operations, such as a division that is too small, resulting in insufficient installation space during software installation, which is very troublesome. Here I will record the whole process of resizing the storage space of home and root partition after the wrong partition!
1. Check the existing partition status of our machine
Notice the information in the red box, which is the partition path we are going to change later. From the above we can find that the root partition and the home partition cause great irrationality. The home partition is too large, so here we will reduce the storage space for the home partition and add the compressed storage space to the root.
two。 Uninstall our home partition and compress our home partition size
3. At this point, we reload our home directory, and we can see that we have compressed the home partition to 20g.
This completes the compression and reloading of the home, as shown below:
This process of reloading and mounting takes some time, but we can also check the size of the drive letter constantly during this period. At this time, we will find that the size of the root drive letter will increase little by little, as shown below:
From the final result of the figure above, we can see that we compressed the free drive letter in home and added 812G to the root, so that our root space increased instantly. In this way, we have achieved our goal.
The above is all the contents of the article "how to resize partitions under Centos/Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.