当前位置:网站首页>Lvm root partition expansion
Lvm root partition expansion
2022-08-06 03:11:00 【The young marshal (Young marshal)】
Foreword
The image that needs to be installed from the native Centos7.9, the system disk needs to be expanded from 40G to 50G
Platform Operations
Let's take a snapshot in Vsphere and increase the disk capacity.If the operating system cannot display the added disk, please restart the server.

Linux operation
(1) First create a partition
## View partition typedf -Th###$sudo lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 50G 0 disk├─sda1 8:1 0 1G 0 part /boot└─sda2 8:2 0 39G 0 part├─centos-root 253:0 0 35G 0 lvm /└─centos-swap 253:1 0 4G 0 lvm [SWAP]sdb 8:16 0 100G 0 disk└─sdb1 8:17 0 100G 0 part└─VolGroup01-LVdata 253:2 0 100G 0 lvm /datasr0 11:0 1 1024M 0 rom##fdisk -l##fdisk /dev/sdap # View partition informationn # create partitionpl8ewq # save and exit
边栏推荐
猜你喜欢

LeetCode:623. 在二叉树中增加一行【DFS or BFS】

实现Redis主从复制

After graduating from college, he didn't come from a professional background and changed his career to test. He only spent 6 years leading the technical team to do the test alone.

MySQL -- 安装部署环境(一键安装脚本)

九、MFC控件(一)

数字化智能工厂解决方案47页

3D激光SLAM:LIO-SAM整体介绍与安装编译

Mysql安装 求大拿解答

浦发银行长沙分行党委书记、行长王起,华融湘江银行行长蒋俊文一行莅临麒麟信安调研考察

比亚迪7月份销量爆表,产品结构非常合理
随机推荐
学习MySQL的第一天:MySQL概述(基础篇)
BYD's July sales exploded, and the product structure is very reasonable
harbor 离线同步
2022年企业和站长租用服务器的几个常见误区
相机标定 >> 坐标系转换@内参、外参
迟来的初次见面
django报错 ModuleNotFoundError: No module named 'mysqlclient'
Camera calibration > > coordinate system transformation @ inside and outside the cords
详解 类和对象
xctf攻防世界 Web高手进阶区 upload1
通行宝通过注册:年营收5.9亿拟募资5.6亿 腾讯云与上汽是股东
测试6年,从入行月薪6k到现在年薪40w,我总结了这些经验...
stacks and queues
What is an inner class?
Android数据库框架之greenDAO
ALV细节再梳理2022.8.5
C 学生管理系统 删除指定学生节点(特殊情况)
WeChat applet multi-select - four choose two
LeetCode Daily 2 Questions 01: Flip word prefixes (both 1200 questions)
如果一个国家市场效果特别好,我们如何加大这个国家的投放比例。