当前位置:网站首页>Ubantu disk expansion (VMware)
Ubantu disk expansion (VMware)
2022-07-05 02:56:00 【Like a feather】
Premise : When using virtual machines , We sometimes take snapshots , But there are snapshots , Unable to expand disk , If snapshots are important , Just clone the virtual machine , Expand the disk capacity on the new virtual machine , conversely , Capacity expansion after deleting snapshots .
1. Expand to the memory size you want .
2. Enter virtual machine , Open the terminal .
(1) Input :sudo apt-get install gparted
download gparted.
(2) Input after downloading :sudo gparted
Start the program .
3. After entering the program , Delete all partitions between keys and unassigned , Only as shown in the figure :
4. Right click the partition with key , Click resize / Move (R), Then Ann looks for the picture content and fills in the numbers ( After that, the available space is modified to 1024 reserve 1G Space is used to create extended partitions and logical partitions ):
5. Check unassigned , Then click New , Analogy to 6 Operation of pictures in , Change the creation to extended partition , File system after selecting extended partition , Will automatically modify , There is no need to modify .
6. Check unassigned , Then click New , Modify according to the content of the picture ( The file system needs to be selected by itself ).7. After the above operations are completed , Follow the figure below :
8. Then you will enter such a page .
9. to update UUID value ( Follow the picture to do this ):
Console input :sudo gedit /etc/fstab
Put inside UUID Change to the one above UUID.
10. Exit after saving , Input at the console df -h
, You can check whether the expansion is successful .
边栏推荐
猜你喜欢
Character painting, I use characters to draw a Bing Dwen Dwen
Hot knowledge of multithreading (I): introduction to ThreadLocal and underlying principles
Azkaban概述
Simple use of devtools
Learn game model 3D characters, come out to find a job?
Pat class a 1160 forever (class B 1104 forever)
El select, El option drop-down selection box
Cut! 39 year old Ali P9, saved 150million
看 TDengine 社区英雄线上发布会,听 TD Hero 聊开发者传奇故事
Design and implementation of campus epidemic prevention and control system based on SSM
随机推荐
Pytest (5) - assertion
Qrcode: generate QR code from text
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Tiny series rendering tutorial
Azkaban实战
[Yu Yue education] National Open University autumn 2018 8109-22t (1) monetary and banking reference questions
Azkaban installation and deployment
The phenomenology of crypto world: Pioneer entropy
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Ask, does this ADB MySQL support sqlserver?
Linux安装Redis
Character painting, I use characters to draw a Bing Dwen Dwen
2. Common request methods
Share the newly released web application development framework based on blazor Technology
El tree whether leaf node or not, the drop-down button is permanent
Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 1)
openresty ngx_lua变量操作
Medusa installation and simple use
qrcode:将文本生成二维码
Structure of ViewModel