当前位置: 首页 > news >正文

CentOS Stream 9安装系统(LVM扩容案例)

目录

  • 1. CentOS Stream 9 安装系统
    • 1.1 选择Install CentOS Stream 9
    • 1.2 设置Language Support
    • 1.3 设置Time & Date
    • 1.4 选择上海
    • 1.5 设置Software Selection
    • 1.6 最小安装
    • 1.7 设置Instllation Destination
    • 1.8 点击Click here to create them automatically
    • 1.9 默认分配
    • 1.10 自定义LVM
    • 1.11 点击Accept Changes
    • 1.12 设置Root Password
    • 1.13 点击Begin Installation
    • 1.14 安装进度
    • 1.15 点击Reboot System
    • 1.16 查看
  • 2 扩容
    • 2.1 编辑虚拟机
    • 2.2 新增硬盘
    • 2.3 查看新增磁盘
    • 2.4
    • 2.5 PV操作
    • 2.6 VG操作
    • 2.7 LV操作
    • 2.8 扩容前后对比
    • 2.9 完成

1. CentOS Stream 9 安装系统

通过 LVM 管理磁盘,能极大提升 CentOS 系统的存储灵活性,特别适合服务器或需要长期使用的场景

1.1 选择Install CentOS Stream 9

在这里插入图片描述

1.2 设置Language Support

在这里插入图片描述

1.3 设置Time & Date

在这里插入图片描述

1.4 选择上海

在这里插入图片描述

1.5 设置Software Selection

![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/7e353374a88f4b518e21bfc525f091d9.png

1.6 最小安装

在这里插入图片描述

1.7 设置Instllation Destination

Storage Configuration选择Custom ,点击Done
在这里插入图片描述

1.8 点击Click here to create them automatically

在这里插入图片描述

1.9 默认分配

在这里插入图片描述

1.10 自定义LVM

在这里插入图片描述

1.11 点击Accept Changes

在这里插入图片描述

1.12 设置Root Password

在这里插入图片描述

1.13 点击Begin Installation

在这里插入图片描述

1.14 安装进度

在这里插入图片描述

1.15 点击Reboot System

在这里插入图片描述

1.16 查看

在这里插入图片描述

2 扩容

2.1 编辑虚拟机

在这里插入图片描述

2.2 新增硬盘

在这里插入图片描述

2.3 查看新增磁盘

[root@localhost ~]# lsblk 
NAME               MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda                  8:0    0  100G  0 disk 
├─sda1               8:1    0    1G  0 part /boot
└─sda2               8:2    0   99G  0 part ├─CentOS_VG-root 253:0    0 91.1G  0 lvm  /└─CentOS_VG-swap 253:1    0  7.9G  0 lvm  [SWAP]
sdb                  8:16   0   20G  0 disk 
sr0                 11:0    1 1024M  0 rom  

在这里插入图片描述

2.4

[root@localhost ~]# fdisk /dev/sdbWelcome to fdisk (util-linux 2.37.4).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xdc2d35c6.Command (m for help): n
Partition typep   primary (0 primary, 0 extended, 4 free)e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4
http://www.dtcms.com/a/391079.html

相关文章:

  • Docusign AI 全球化:构建安全、合规的多语言协议管理
  • C# 基于halcon的视觉工作流-章37-零件测量
  • 第二部分:VTK核心类详解(第38章 vtkPointData点数据类)
  • 木卫四科技 × 一汽解放商用车开发院: 共驱商用车 AI 研发新程
  • 【C++闯关笔记】STL:stack与queue的学习和使用
  • [HCTF 2018] WarmUp
  • Vue 学习随笔系列二十六 —— 动态表头
  • BIM 可视化运维平台 + IBMS 中央集成系统一体化解决方案:构建虚实融合的智慧运营中枢
  • XSUN_DESKTOP_PET(桌面宠物)
  • 具身智能VR遥操开发记录
  • 构建AI智能体:三十八、告别“冷启动”:看大模型如何解决推荐系统的世纪难题
  • [重学Rust]之结构体打印和转换
  • 数据结构(陈越,何钦铭) 第十一讲 散列查找
  • 2025年JBD SCI2区TOP,基于改进蚁群算法的应急路径规划,深度解析+性能实测
  • UIKit-layer
  • 一物一码公司推荐再互动平台
  • Wireshark捕获MQTT报文
  • Docker镜像核心作战手册:镜像命令全解析+离线迁移实战+压缩共享储存,打造无缝跨环境部署!
  • Static Deinitialization Order Fiasco
  • 如何使用 Qt Creator 高效调试
  • 保障路灯用电安全!配电箱漏电检测,为城市照明筑牢防线
  • 不同版本tensorflow推理报错解决方法
  • 嵌入式铁头山羊STM32-各章节详细笔记-查阅传送门
  • 在没有随机对照的情况下如果做实验对比:双重差分法(结合虚拟变量回归)(五)
  • 材质、效率双突破:Rendercool 解决室内渲染核心痛点
  • 【ThreeJs】【材质Material】核心材质参数解析手册
  • 无人机桨叶的材质与工艺对飞行速度的影响
  • PMBOK第六版项目沟通管理总结
  • fatal: Need to specify how to reconcile divergent branches.原因及解决方案
  • 二叉树与二叉搜索树(BST):从基础到应用