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

Busybox's fdisk calls fail on >2tb disks #1883

Open
tlaurion opened this issue Jan 3, 2025 · 3 comments
Open

Busybox's fdisk calls fail on >2tb disks #1883

tlaurion opened this issue Jan 3, 2025 · 3 comments

Comments

@tlaurion
Copy link
Collaborator

tlaurion commented Jan 3, 2025

4tb drive (>2tb) hits a limit. We need to replace fdisk usage with raw linux /sys or /proc output

Reported by user at https://matrix.to/#/!pAlHOfxQNPXOgFGTmo:matrix.org/$BBCUnUv-0D9IOgneYpNTMynCOz66O9Wrh792tVPmt-I?via=matrix.org&via=nitro.chat&via=envs.net

busybox's fdisk errors (warn; doesn't report !=0) on call and gives following output:
signal-2025-01-04-114852

EDIT: I can't replicate bad behavior under Heads with emulated qcow2 disk of 4tb. I need more info/debug traces.

@tlaurion tlaurion changed the title Fdisk limitations on disk size (busybox) Busyboc's fdisk calls fail on >2tb disks Jan 4, 2025
@tlaurion tlaurion changed the title Busyboc's fdisk calls fail on >2tb disks Busybox's fdisk calls fail on >2tb disks Jan 4, 2025
@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 4, 2025

@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 6, 2025

fdisk throws a warning but is not throwing an error at me in testing done under #1884. From my current deep dive of busybox's fdisk code and Heads output parsing, I cannot make sense of reported issue from op matrix discussion. More information needed.

Modified OP.

@tlaurion
Copy link
Collaborator Author

Confirm that's stderr output that should be suppressed for oem factory reset/re-ownership tested under #1889

Image

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

No branches or pull requests

1 participant