Skip to content

Conversation

@MarkSymsCtx
Copy link
Contributor

The commit baa7044 introduced regressions in functionality around the use of raw VDIs on LVM SRs. It is therefore being reverted until it can be reworked to not cause these regressions.

@Millefeuille42 I will reopen your original PR, can you please pick it back up and address the issues? Possibly something in the block_size method needing to check the VDI type before calling vhdutil. In the failures that we've seen we have traces where we can see that vhdutil has tried, unsuccessfully, to read a raw VDI and thus caused the outer operation to fail. Disaster Recovery functionality was affected as well as various positive and negative tests around use of raw VDIs

This reverts commit baa7044.

Signed-off-by: Mark Syms <mark.syms@citrix.com>
This reverts commit 6afc9fa.

Signed-off-by: Mark Syms <mark.syms@citrix.com>
@MarkSymsCtx MarkSymsCtx merged commit 6950a5e into xapi-project:master Jan 26, 2026
2 checks passed
@MarkSymsCtx MarkSymsCtx deleted the revert_baa7044 branch January 26, 2026 09:28
@Millefeuille42
Copy link
Contributor

The fix have been made and is pushed on our branch xcp-ng:upstream-use-vhd-header-for-block-size in commit 9ce01d1.

It should be good for review once the PR is back open. I managed to reproduce the issue and tested the fix on a raw VDI on a LVM SR. I managed to run several commands (create, resize, scan, destroy...) without any issue.

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.

4 participants