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

Snapshot created and used only for first disk image in VMs with multiple disk images #145

Open
zachbthomas opened this issue Aug 3, 2023 · 4 comments

Comments

@zachbthomas
Copy link

When specifying multiple disk images (multiple volumes) for a VM in a topology, the minimega script is incorrectly generated. Only the first disk image is snapshotted. Subsequent disk images do not get a snapshot file, and as a result, in subsequent disk images the original image file is specified in the experiment's minimega file rather than snapshot files for each disk image

image
image

@activeshadow
Copy link
Collaborator

Thanks @zachbthomas for creating this issue. What exactly are you expecting to see with multiple disk images? A snapshot for all of them so the base image doesn't get modified during an experiment?

@zachbthomas
Copy link
Author

zachbthomas commented Aug 4, 2023 via email

@bjwrigh
Copy link

bjwrigh commented Aug 7, 2023

Currently the behavior is such that the second disk is always being written to directly whereas the _snapshot file from the first disk is the diff file from the first drive. In other words, we are not preserving the second disk in any way.

@activeshadow
Copy link
Collaborator

@bjwrigh I thought minimega created a snapshot disk in /tmp/minimega for all disks connected to a VM. Is that not the case?

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

3 participants