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

bll/storage: don't check source domain space on lsm #968

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dupondje
Copy link
Member

When doing a LiveStorageMigration, the code checked if the disk/image would fit not only on the destination, but also on the source. This because theoretically the snapshot image can grow until the disksize.

But this means that we needed to live migrate a 1TB disk, also at least 1TB of free space on the source domain.
This is quite useless, and causes problemns to move disks from for example an already overloaded source domain.

As this check is neither being done when creating a simple snapshot, just drop the check on the source domain.

Are you the owner of the code you are sending in, or do you have permission of the owner?

[y]

When doing a LiveStorageMigration, the code checked if the disk/image
would fit not only on the destination, but also on the source.
This because theoretically the snapshot image can grow until the
disksize.

But this means that if we needed to live migrate a 1TB disk, we need
at least 1TB of free space on the source domain also.
This is quite useless, and causes problems to move disks from (for
example) an already overloaded source domain.

As this check is neither being done when creating a simple snapshot,
just drop the check on the source domain for LSM.

Signed-off-by: Jean-Louis Dupond <[email protected]>
@sandrobonazzola
Copy link
Member

@sermakov-orion , @saksham-oracle can you please review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants