Bug 2324 - 使用qcow2镜像在OpenStack里创建实例根目录只有20G
Summary: 使用qcow2镜像在OpenStack里创建实例根目录只有20G
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 8.6
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-03 23:14 UTC by ieayoio
Modified: 2022-10-03 23:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ieayoio 2022-10-03 23:14:28 UTC
Description of problem:
OpenStack里给实例分配了500G根磁盘,使用qcow2镜像创建实例根目录只有20G,使用centos和Ubuntu的镜像

Version-Release number of selected component (if applicable):
AnolisOS-8.6-x86_64-ANCK.qcow2

How reproducible:
必现

Steps to Reproduce:
1.OpenStack里上传镜像:镜像格式QCOW2 - QEMU 模拟器,可见性公有,受保护否,其他没填
2.选择一个根磁盘大小500G的实例类型,创建实例
3.登录创建好的实例以后使用lsblk查看磁盘信息发现系统盘只有20G

Actual results:
[root@host-10-10-53-141 ~]# lsblk 
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0  500G  0 disk 
`-sda1   8:1    0   20G  0 part /

Expected results:
按照我的预期这500G不是应该都给系统盘的吗,centos和Ubuntu就像我想的一样,但是anolis并不是,是必须要每个实例创建好以后都做一次调整吗?能不能创建好的实例默认就把磁盘都分给/

Additional info:
Comment 1 ieayoio 2022-10-03 23:17:31 UTC
抱歉版本错了我用的是RHCK,应该是AnolisOS-8.6-x86_64-RHCK.qcow2