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

Fixed multiple block device size issues #393

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

nesitor
Copy link
Member

@nesitor nesitor commented Jul 20, 2023

This fix solves the problem that we found when you add a block device with higher size that are snapshots from another devices with less size.

We created a linear block device that uses the image one but with the correct final size, and we create the snapshot using this new base device as base.

@nesitor nesitor requested review from hoh and odesenfans July 20, 2023 12:50
@nesitor nesitor self-assigned this Jul 20, 2023
@nesitor nesitor linked an issue Jul 20, 2023 that may be closed by this pull request
@nesitor nesitor merged commit 070a213 into main Jul 20, 2023
12 checks passed
@nesitor nesitor deleted the andres-fix-devmapper-size-issue branch July 20, 2023 13:06
hoh pushed a commit that referenced this pull request Mar 12, 2024
* Fix: Added a new block device with total volume size as base from the snapshot one.

* Fix: make black code quality fixes.

---------

Co-authored-by: Andres D. Molins <[email protected]>
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.

devmapper command fails when setting up a specific instance type
2 participants