View Issue Details

IDProjectCategoryView StatusLast Update
0007097CloudGeneralpublic2024-06-11 00:29
ReporterPawel Dudczak Assigned ToLouis Abel  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionsuspended 
Summary0007097: Issue with minimum disk size in Rocky-9 Generic Cloud Base image
DescriptionI noticed that since Rocky-9-GenericCloud-Base-9.4 the partition table in the image from which the operating system is built has been changed from such:

qemu-img info Rocky-9-GenericCloud-Base-9.3-20231113.0.x86_64.qcow2

image: Rocky-9-GenericCloud-Base-9.3-20231113.0.x86_64.qcow2
file format: qcow2
virtual size: 10 GiB (10737418240 bytes)
disk size: 1.01 GiB
cluster_size: 65536
Format specific information:
    compat: 1.1
    compression type: zlib
    lazy refcounts: false
    refcount bits: 16
    corrupt: false
    extended l2: false

to such:

qemu-img info Rocky-9-GenericCloud-Base-9.4-20240523.0.x86_64.qcow2
image: Rocky-9-GenericCloud-Base-9.4-20240523.0.x86_64.qcow2
file format: qcow2
virtual size: 10.5 GiB (11259609088 bytes)
disk size: 575 MiB
cluster_size: 65536
Format specific information:
    compat: 1.1
    compression type: zlib
    lazy refcounts: false
    refcount bits: 16
    corrupt: false
    extended l2: false

this seemingly small change has caused a huge problem, as the minimum partition value has changed from 10GB to ~10.5GB(see virtual size parameter) and now flavor with a 10GB disk cannot be used on the cloud and virtual servers have stopped building. Request to revert to the previous version, build images, I will mention that in the CentOS-Stream-GenericCloud-x86_64-9 images built by RedHat, the partition size is still equal 10GB
Additional Informationvirt-filesystems --long --all -a Rocky-9-GenericCloud-Base-9.3-20231113.0.x86_64.qcow2

Name Type VFS Label MBR Size Parent
/dev/sda1 filesystem vfat - - 103575552 -
/dev/sda2 filesystem xfs boot - - 981467136 -
/dev/sda3 filesystem unknown - - 4194304 -
/dev/sda4 filesystem unknown - - 1048576 -
/dev/sda5 filesystem xfs - - 9509535744 -
/dev/sda1 partition - - 103809024 /dev/sda
/dev/sda2 partition - - - 1048576000 /dev/sda
/dev/sda3 partition - - - 4194304 /dev/sda
/dev/sda4 partition - - - 1048576 /dev/sda
/dev/sda5 partition - - - 9576644608 /dev/sda
/dev/sda device - - - 10737418240 -


virt-filesystems --long --all -a Rocky-9-GenericCloud-Base-9.4-20240509.0.x86_64.qcow2
Name Type VFS Label MBR Size Parent
/dev/sda1 filesystem unknown - - 2097152 -
/dev/sda2 filesystem vfat EFI - 104634368 -
/dev/sda3 filesystem xfs BOOT - 981467136 -
/dev/sda4 filesystem xfs rocky - 10035900416 -
/dev/sda1 partition - - - 2097152 /dev/sda
/dev/sda2 partition - - - 104857600 /dev/sda
/dev/sda3 partition - - - 1048576000 /dev/sda
/dev/sda4 partition - - - 10103012864 /dev/sda
/dev/sda device - - - 11259609088 -

Tagscloud, image, installation, qcow2, qemu-kvm

Activities

Louis Abel

Louis Abel

2024-06-11 00:29

administrator   ~0007426

Closing as newer images are available. Please open a new bug report if the new images exhibit similar issues.

http://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud-Base.latest.x86_64.qcow2

http://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud-Base-9.4-20240609.0.x86_64.qcow2

Disk /dev/nbd1: 10 GiB, 10737418240 bytes, 20971520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 6F744111-DA69-4CA5-B481-DDDEB77763F5
Device Start End Sectors Size Type
/dev/nbd1p1 2048 6143 4096 2M BIOS boot
/dev/nbd1p2 6144 210943 204800 100M EFI System
/dev/nbd1p3 210944 2258943 2048000 1000M Linux extended boot
/dev/nbd1p4 2258944 20971486 18712543 8.9G Linux root (x86-64)

Issue History

Date Modified Username Field Change
2024-06-10 06:57 Pawel Dudczak New Issue
2024-06-10 06:57 Pawel Dudczak Tag Attached: cloud
2024-06-10 06:57 Pawel Dudczak Tag Attached: image
2024-06-10 06:57 Pawel Dudczak Tag Attached: installation
2024-06-10 06:57 Pawel Dudczak Tag Attached: qcow2
2024-06-10 06:58 Pawel Dudczak Tag Attached: qemu-kvm
2024-06-11 00:29 Louis Abel Assigned To => Louis Abel
2024-06-11 00:29 Louis Abel Status new => closed
2024-06-11 00:29 Louis Abel Resolution open => suspended
2024-06-11 00:29 Louis Abel Note Added: 0007426