Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resindataexpander script doesn't resize data partition on MBR disks > 2 TB #2241

Open
jakogut opened this issue Jul 7, 2021 · 1 comment
Labels

Comments

@jakogut
Copy link
Contributor

jakogut commented Jul 7, 2021

Steps to reproduce:

  • Write balenaOS v2.80.0 or older with MBR partition table to a disk > 2 TB
  • Boot the OS

The data partition will remain the original size, approximately 190 MB, instead of resizing to fill the available space on disk. It appears this is because the partition table doesn't allow the partition to be expanded to fill the disk, but it also won't be expanded to fill the usable space.

@alexgg
Copy link
Contributor

alexgg commented Jul 15, 2021

Given that MBR partition tables don't support disks bigger than 2TB the recommendation would be to use a device type with a GPT partition table. If this is about x86 devices, replacing the generic-x86_64-ext device type with the generic-amd64 is the correct solution.
balena-os/balena-intel#374

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants