自己定义镜像扩容

2024-01-19

自定义镜像扩容

使用 oracle vbox 制作自定义镜像,安装后的硬盘扩容

参考aliyun

1
2
3
4
5
6
7
8
9
10
11
12
13
## vim /etc/lvm/lvm.conf setting
use_devicesfile=0

## 扩充 分区
growpart /dev/vda 2

## 扩充 物理卷
pvresize /dev/vda2

## 扩充 逻辑卷
lvextend -l +100%FREE /dev/almalinux/root


error

Linux LVM - PVID last seen on

Share
  • aliyun alimalinux 镜像
Newer
cnd 代理后链接失败
Older
nginx server的root目录没有权限错误
  • Liusx © 2024
  • Powered by Hexo
  • theme Ocean

Liusx
  • Home
  • Archives
  • Gallery
  • About
  • 主页
  • 归档
  • 相册
  • 关于
  • Search