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

fix: several fixes for GPT and ZFS #102

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

smira
Copy link
Member

@smira smira commented Aug 20, 2024

Fix ZFS probing, and skip if the device is too small to avoid printing weird errors in probe logs.

Fix GPT allocation/size discovery to match sfdisk: first usable LBA should be aligned to the partition boundary, and allocatable space should be also aligned as well.

Fix ZFS tests to use testdata, so that we can run tests in local mode.

@smira smira force-pushed the fix/zfs-gpt branch 2 times, most recently from d1e082c to 7e38dea Compare August 20, 2024 12:10
@smira
Copy link
Member Author

smira commented Aug 20, 2024

@dsseng I fixed ZFS probing, you missed the fact that uberblocks start at offset 128K.

Fix ZFS probing, and skip if the device is too small to avoid printing
weird errors in probe logs.

Fix GPT allocation/size discovery to match `sfdisk`: first usable LBA
should be aligned to the partition boundary, and allocatable space
should be also aligned as well.

Fix ZFS tests to use testdata, so that we can run tests in local mode.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
@smira
Copy link
Member Author

smira commented Aug 20, 2024

/m

@talos-bot talos-bot merged commit 41240c1 into siderolabs:v2 Aug 20, 2024
14 checks passed
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