当前位置:网站首页>Yyds dry inventory KVM new inventory to expand space for home
Yyds dry inventory KVM new inventory to expand space for home
2022-07-02 16:13:00 【Feng, crazy】
1. create disk 400G
qemu-img create -f raw /home/vm/disk/v1.img 400G
- 1.
2. Modify configuration file add disk
# Turn off the power
[[email protected] kvmdisk]# virsh destroy WMS-test-2
Domain WMS-test-2 destroyed
# Profile add information
[[email protected] kvmdisk]# virsh edit WMS-test-2
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/home/vm/disk/v1.img'/>
<target dev='vdb' bus='ide'/>
</disk>
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
3. Format disk
mkfs -t xfs /dev/sda // Format the disk as xfs
- 1.
4. Use lvm Extended partitions
pvcreate /dev/sda
pvdisplay
take /dev/sda Add to home Corresponding volume group centos
vgextend centos /dev/sda
lvextend -L +399.9G /dev/mapper/centos_home
- 1.
- 2.
- 3.
- 4.
- 5.
5. Expand space
resize2fs /dev/mapper/centos_home
xfs_growfs /dev/mapper/centos_home // When resize2fs If something goes wrong, you can use , The file format is xfs Format time
- 1.
- 2.
边栏推荐
- Effectively use keywords to increase Amazon sales
- Crawl the information of national colleges and universities in 1 minute and make it into a large screen for visualization!
- Postgressql stream replication active / standby switchover primary database no read / write downtime scenario
- (practice C language every day) the sum of the nearest three numbers
- Multi data source configuration code
- [Yu Yue education] reference materials of sensing and intelligent control technology of Nanjing University of Technology
- How to use percona tool to add fields to MySQL table after interruption
- Does bone conduction earphone have external sound? Advantages of bone conduction earphones
- [fluent] dart language (DART language features | JIT instant compilation | AOT static compilation)
- 微信v3native支付设置的结束时间处理办法
猜你喜欢

通过两级网关设计来路由服务网格流量

Yyds dry goods inventory student attendance system based on QT design

Vscode设置标签页多行显示

PyC file decompile

数仓中的维度表与事实表

手机app通达信添加自定义公式(分时T+0)为例子讲解

Processing gzip: stdin: not in gzip format: child returned status 1tar: error is not recoverable: exitin

dried food! Understand the structural vulnerability of graph convolution networks
![[5g NR] RRC connection release](/img/f3/a03f5124493b1c03e7336c55871330.png)
[5g NR] RRC connection release

Boot transaction usage
随机推荐
如何實現十億級離線 CSV 導入 Nebula Graph
Use ffmpeg command line to push UDP and RTP streams (H264 and TS), and ffplay receives
idea jar包冲突排查
Boot 连接 Impala数据库
/Bin/ld: cannot find -lxml2
Pandora IOT development board learning (RT thread) - Experiment 2 RGB LED experiment (learning notes)
纪念成为首个 DAYU200 三方 demo 贡献者
[idea] recommend an idea translation plug-in: translation "suggestions collection"
AWS云主机扩容
可视化技术在 Nebula Graph 中的应用
【题解】Educational Codeforces Round 82
Set the background picture in the idea (ultra detailed)
Processing gzip: stdin: not in gzip format: child returned status 1tar: error is not recoverable: exitin
Huawei ECS installs mysqlb for mysqld service failed because the control process exited with error code. See “sys
Figure database | Nepal graph v3.1.0 performance report
Comprehensively interpret the background and concept of service mesh
Analysis of the difference between array and linked list
SQL FOREIGN KEY
Various entanglements between qvariant and Jason -- QT
解决** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the defau