In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today I will show you how to resize the Linux virtual machine space. The content of the article is good. Now I would like to share it with you. Friends who feel in need can understand it. I hope it will be helpful to you. Let's read it along with the editor's ideas.
Suppose / dev/cobd3 space is too small and you want to get bigger or smaller
Officially, create a blank image, mount it to colinux, import the original root partition into the new image, and mount the new image as root:
1. Create a blank image first
Under Windows cmd: fsutil file createnew new.img 21474836480
two。 Mount to colinux
Modify the fedora.conf file and mount the new.img to cobd4:
Cobd4= "images/new.img"
Import the original root partition into the new image
Then start colinux and import the original root partition (/ dev/cobd3):
Dd if=/dev/cobd3 of=/dev/cobd4
4. The new image is mounted as root
Then close colinux and modify the conf file again:
Cobd3= "images/new.img"
5. Adjust spatial size
Run after restarting colinux:
Resize2fs-p / dev/cobd3
What are the versions of Linux? the versions of Linux are Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and so on. Among them, Deepin is one of the best-developed Linux distributions in China; UbuntuKylin is a derivative release based on Ubuntu; Manjaro is a Linux release based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP's easy-to-use; Ubuntu is the Linux operating system based on desktop applications.
This is all about how to resize the Linux virtual machine space. For more content related to how to resize the Linux virtual machine space, you can search the previous articles or browse the following articles to learn! I believe the editor will add more knowledge to you. I hope you can support it!
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.