当前位置:网站首页>AWS云主机扩容
AWS云主机扩容
2022-07-02 12:39:00 【51CTO】
aws下的linux硬盘空间扩容
df -h命令查看磁盘空间,/dev/xvda1
扩容使用中的 EBS 卷 找到该实例使用的 EBS 存储卷,可直接修改选中卷的容量,修改至生效这个过程比较长,我当时从 100G 扩容到 200G 大概 1 小时才完成。
完成之后再次使用 lsblk 可查看到容量 设备容量由 100G 变成了 200G,但分区仍然是 100G。
扩容分区 :growpart /dev/xvda 1
分区扩大后,使用 df 命令可看到,文件系统容量依然为 100G,还需要扩容文件系统。
扩容文件系统命令:resize2fs /dev/xvda1
df -h 再次查看已经扩容完成,容量为 200G。
边栏推荐
- Dimension table and fact table in data warehouse
- Boot 事务使用
- Golang MD5 encryption and MD5 salt value encryption
- Pyinstaller's method of packaging pictures attached to exe
- 基于 Nebula Graph 构建百亿关系知识图谱实践
- Lseek error
- 2020.4.12 byte written test questions B DP D monotone stack
- Song of cactus - throwing stones to ask the way (2)
- Some problems about pytorch extension
- 全方位解读服务网格(Service Mesh)的背景和概念
猜你喜欢

处理gzip: stdin: not in gzip formattar: Child returned status 1tar: Error is not recoverable: exitin

愛可可AI前沿推介(7.2)

Nebula Graph & 数仓血缘关系数据的存储与读写

win10系统升级一段时间后,内存占用过高

使用 percona 工具给 MySQL 表加字段中断后该如何操作

Xpt2046 four wire resistive touch screen

Boot transaction usage

Storage, reading and writing of blood relationship data of Nepal Graph & Data Warehouse

中科大脑知识图谱平台建设及业务实践

Traversal before, during and after binary tree
随机推荐
SQL FOREIGN KEY
全方位解读服务网格(Service Mesh)的背景和概念
Ssh/scp does not prompt all activities are monitored and reported
Data Lake (11): Iceberg table data organization and query
Various entanglements between qvariant and Jason -- QT
HMS core machine learning service helps zaful users to shop conveniently
使用FFmpeg命令行进行UDP、RTP推流(H264、TS),ffplay接收
Invalid bound statement (not found) solution summary
(万字精华知识总结)Shell脚本编程基础知识
微信v3native支付设置的结束时间处理办法
奥比中光 astra: Could not open “2bc5/[email protected]/6“: Failed to set USB interface
Moveit 避障路径规划 demo
fastjson List转JSONArray以及JSONArray转List「建议收藏」
Group by的用法
SQL FOREIGN KEY
蚂蚁集团大规模图计算系统TuGraph通过国家级评测
Figure database | Nepal graph v3.1.0 performance report
数据库系统概论第一章简答题-期末考得怎么样?
SQL modification statement
Fastjson list to jsonarray and jsonarray to list "suggested collections"