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

How can I update the baking file of qcow2 snapshot after the files have already been moved? #2

Open
imthenachoman opened this issue Jun 1, 2024 · 0 comments

Comments

@imthenachoman
Copy link

I know this isn't specific to virsh-external-snapshots but I can't find any other resources so I thought I would try here.

Once I take a snapshot using virsh-external-snapshots, the VM config will use the snapshot for booting and the snapshot points to the original qcow2 file.

I had to move both the qcow2 file and the snapshot.

Is there anyway with virsh-external-snapshots to update the snapshot baking file so it points to the new location of the qcow2 file?

The original file paths were:

  • /var/lib/libvirt/images/win11.qcow2 (main storage)
  • /var/lib/libvirt/images/win11.fresh-install (snapshot)

I had to move the files and now their paths are:

  • /data/libvirt/images/win11.qcow2 (main storage)
  • /data/libvirt/images/win11.fresh-install (snapshot)
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