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

Allow DirectVolumeMigration of block volumes #1367

Open
5 tasks
awels opened this issue Feb 15, 2024 · 0 comments
Open
5 tasks

Allow DirectVolumeMigration of block volumes #1367

awels opened this issue Feb 15, 2024 · 0 comments

Comments

@awels
Copy link
Contributor

awels commented Feb 15, 2024

Is your feature request related to a problem? Please describe.
Currently it is impossible to DirectVolumeMigrate block volumes as all direct volume migration uses rsync to synchronize the volumes. It would be nice if we could direct volume migrate block volumes. This is especially important if you want to migrate KubeVirt Virtual Machine disks as the recommendation is to use block volumes for those.

Describe the solution you'd like
The ability to successfully DirectVolumeMigrate block volumes.

Describe alternatives you've considered
When a block volume is detected instead of failed, use something like diskrsync or a modified kopia block backup to do the synchronization.

Additional context
It would be nicer if there was Change Block Tracking in kubernetes that we could use, however the alternatives above should provide a CBT mechanism that is sufficient for our needs.

A side note on Virtual Machine disks that are on a filesystem. Since KubeVirt creates a single large disk image file on the filesystem, it is essentially the same as a block device. rsync doesn't really know how to handle this, and if there is a change in the source, it will synchronize the entire file even if only a few bytes changed. So it might make sense to have a special case for single large image files and treat them as block volumes.

Tasks

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