当前位置:网站首页>AWS virtual machine expansion
AWS virtual machine expansion
2022-07-02 16:02:00 【51CTO】
aws Under the linux Hard disk space expansion
df -h Command view disk space ,/dev/xvda1
Capacity expansion in use EBS volume Find the EBS Storage volume , You can directly modify the capacity of the selected volume , The process from modification to effectiveness is relatively long , I was from 100G Expand to 200G Probably 1 Hours to complete .
Use again after completion lsblk You can view the capacity Equipment capacity is determined by 100G Turned into 200G, But the partition is still 100G.
Expansion partition :growpart /dev/xvda 1
After the partition is expanded , Use df Orders can be seen , The file system capacity is still 100G, You also need to expand the file system .
Expand file system command :resize2fs /dev/xvda1
df -h Check again that the expansion has been completed , Capacity of 200G.
边栏推荐
- fastjson List转JSONArray以及JSONArray转List「建议收藏」
- Solve the problem of base64encoder error
- SQL FOREIGN KEY
- Register as a harmonios developer and install deveco studio 3.0 beta2 for harmonios
- [solution] educational codeforces round 82
- Pyinstaller打包exe附带图片的方法
- Boot 事务使用
- 基于 Nebula Graph 构建百亿关系知识图谱实践
- Ssh/scp does not prompt all activities are monitored and reported
- Pyobject to char* (string)
猜你喜欢
Review materials for the special topic of analog electronics with all essence: basic amplification circuit knowledge points
HMS core machine learning service helps zaful users to shop conveniently
Storage, reading and writing of blood relationship data of Nepal Graph & Data Warehouse
【5G NR】RRC连接释放
2020.4.12 byte written test questions B DP D monotone stack
Figure database | Nepal graph v3.1.0 performance report
[5g NR] RRC connection release
Aike AI frontier promotion (7.2)
GraphX 图计算实践之模式匹配抽取特定子图
注册成为harmonyos开发者并安装DevEco Studio 3.0 Beta2 for HarmonyOS
随机推荐
Target detection - make your own deep learning target detection data set with labelimg
死锁的条件及解决方法
2020.4.12 byte written test questions B DP D monotone stack
The task cannot be submitted after the installation of flick is completed
locate: 无法执行 stat () `/var/lib/mlocate/mlocate.db‘: 没有那个文件或目录
Bean configuration override in boot
(万字精华知识总结)Shell脚本编程基础知识
仙人掌之歌——投石问路(2)
/Bin/ld: cannot find -lxslt
Pyinstaller打包exe附带图片的方法
Traversal before, during and after binary tree
纪念成为首个 DAYU200 三方 demo 贡献者
Another graduation season
C # get PLC information (kepserver) II
End time processing method of wechat v3native payment settings
Wavedec2 in MATLAB, talk about the wavedec2 function [easy to understand]
Fiddler realizes mobile packet capturing - getting started
win10系统升级一段时间后,内存占用过高
SQL modification statement
Invalid bound statement (not found)解决方法总结