当前位置:网站首页>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。
边栏推荐
- 【题解】Educational Codeforces Round 82
- Boot 连接 Impala数据库
- (万字精华知识总结)Shell脚本编程基础知识
- 《大学“电路分析基础”课程实验合集.实验五》丨线性有源二端网络等效电路的研究
- Add an empty column to spark dataframe - add an empty column to spark dataframe
- Astra: could not open "2bc5/ [email protected] /6“: Failed to set USB interface
- 基于 Nebula Graph 构建百亿关系知识图谱实践
- Boot 中bean配置覆盖
- 仙人掌之歌——投石问路(3)
- Use ffmpeg command line to push UDP and RTP streams (H264 and TS), and ffplay receives
猜你喜欢

隐藏在 Nebula Graph 背后的星辰大海

idea jar包冲突排查

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

爱可可AI前沿推介(7.2)

GraphX 图计算实践之模式匹配抽取特定子图

Experiment collection of University Course "Fundamentals of circuit analysis". Experiment 5 - Research on equivalent circuit of linear active two terminal network

华为云服务器安装mysqlb for mysqld.service failed because the control process exited with error code.See “sys

How to import a billion level offline CSV into Nepal graph

Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals

【5G NR】RRC连接释放
随机推荐
Another graduation season
Experiment collection of University Course "Fundamentals of circuit analysis". Experiment 5 - Research on equivalent circuit of linear active two terminal network
/Bin/ld: cannot find -llz4
微信v3native支付设置的结束时间处理办法
智联招聘的基于 Nebula Graph 的推荐实践分享
数据湖(十一):Iceberg表数据组织与查询
Lseek error
Review materials for the special topic of analog electronics with all essence: basic amplification circuit knowledge points
/bin/ld: 找不到 -llz4
Flink real-time data warehouse (7): Flink realizes the full pull module to extract data in MySQL
Why does the system convert the temp environment variable to a short file name?
How to use percona tool to add fields to MySQL table after interruption
Nebula Graph & 数仓血缘关系数据的存储与读写
/Bin/ld: cannot find -lpam
Construction and business practice of Zhongke brain knowledge map platform
Various entanglements between qvariant and Jason -- QT
lseek 出错
Application of visualization technology in Nebula graph
Boot transaction usage
Moveit 避障路径规划 demo