Skip to content

Conversation

@pothos
Copy link
Member

@pothos pothos commented Nov 3, 2025

The increased /boot and /usr partitions meant that we grew all images types. The raw image had the root partition decreased a bit but the VM images not, and AWS and Akamai images even got aligned to also have the larger VM rootfs instead of the raw rootfs. All image types are way smaller than Azure with its 30 GB size and thus the size had to be increased. For Azure, however, we already have enough free space and it is good to avoid increasing the image size because this requires action for those cases where users had assumed that the image fits into a hardcoded 30 GB disk.
Reduce the root partition by the amount of blocks that is the difference between the old and current full disk image size for Azure.

How to use

Backport to the Alpha branch

Testing done

The new image size with this PR is:

30.4 GiB (32633782784 bytes)

The Azure image size with Beta (before the increase) was:

30.4 GiB (32633782784 bytes)

The Azure image size with Alpha (after the increase) was:

34.2 GiB (36729520640 bytes)

Jenkins ran to provide bincache images for further testing.

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

The increased /boot and /usr partitions meant that we grew all images
types. The raw image had the root partition decreased a bit but the VM
images not, and AWS and Akamai images even got aligned to also have the
larger VM rootfs instead of the raw rootfs. All image types are way
smaller than Azure with its 30 GB size and thus the size had to be
increased. For Azure, however, we already have enough free space and it
is good to avoid increasing the image size because this requires action
for those cases where users had assumed that the image fits into a
hardcoded 30 GB disk.
Reduce the root partition by the amount of blocks that is the difference
between the old and current full disk image size for Azure.

Signed-off-by: Kai Lueke <[email protected]>
@pothos pothos marked this pull request as ready for review November 3, 2025 13:32
@pothos pothos requested a review from a team as a code owner November 3, 2025 13:32
@pothos pothos merged commit d6b3c29 into main Nov 4, 2025
4 of 5 checks passed
@pothos pothos deleted the kai/azure-fix-image-size branch November 4, 2025 05:11
pothos added a commit that referenced this pull request Nov 4, 2025
disk_layout: Keep Azure image size at 30 GB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants