当前位置:网站首页>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。
边栏推荐
- [idea] recommend an idea translation plug-in: translation "suggestions collection"
- Flink real-time data warehouse (IX): incremental synchronization of data in MySQL
- Pattern matching extraction of specific subgraphs in graphx graph Computing Practice
- /bin/ld: 找不到 -llz4
- ssh/scp 使不提示 All activities are monitored and reported.
- Aiko ai Frontier promotion (7.2)
- Multi data source configuration code
- 智联招聘的基于 Nebula Graph 的推荐实践分享
- 数据库系统概论第一章简答题-期末考得怎么样?
- 《大学“电路分析基础”课程实验合集.实验四》丨线性电路特性的研究
猜你喜欢

《大学“电路分析基础”课程实验合集.实验七》丨正弦稳态电路的研究

Traversal before, during and after binary tree

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

Soul torture, what is AQS???

如何实现十亿级离线 CSV 导入 Nebula Graph

Huawei ECS installs mysqlb for mysqld service failed because the control process exited with error code. See “sys

Comment réaliser un graphique Nebula d'importation CSV hors ligne de niveau milliard

Comparison between rstan Bayesian regression model and standard linear regression model of R language MCMC
![[5g NR] RRC connection release](/img/f3/a03f5124493b1c03e7336c55871330.png)
[5g NR] RRC connection release

注册成为harmonyos开发者并安装DevEco Studio 3.0 Beta2 for HarmonyOS
随机推荐
/bin/ld: 找不到 -llz4
《大学“电路分析基础”课程实验合集.实验六》丨典型信号的观察与测量
如何實現十億級離線 CSV 導入 Nebula Graph
【题解】Educational Codeforces Round 82
[development environment] install Visual Studio Ultimate 2013 development environment (download software | install software | run software)
Group by的用法
多数据源配置代码
Idea public method extraction shortcut key
Practice of constructing ten billion relationship knowledge map based on Nebula graph
Pyinstaller's method of packaging pictures attached to exe
idea jar包冲突排查
Nebula Graph & 数仓血缘关系数据的存储与读写
PostgresSQL 流复制 主备切换 主库无读写宕机场景
Comprehensively interpret the background and concept of service mesh
Wise target detection 23 - pytoch builds SSD target detection platform
locate: 无法执行 stat () `/var/lib/mlocate/mlocate.db‘: 没有那个文件或目录
Fiddler实现手机抓包——入门
The sea of stars hidden behind the nebula graph
Fastjson list to jsonarray and jsonarray to list "suggested collections"
使用 percona 工具给 MySQL 表加字段中断后该如何操作