Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[ubuntu] 14.04 How to delete kvm snapshot

$
0
0
Hi,

I installed a new kvm setup this week based on ubuntu 14.04, just like my old setup, so the general setup worked fine and I could migrate the hosts over.
I never played with the snapshot feature before though, so I wanted to give it a shot... that didnt go quite as well.

The snapshot was created like this
virsh snapshot-create-as domain --disk-only --atomic --diskspec vda,file=/mnt/storage/snap --no-metadata
So now I have a snapshot at /mnt/storage/snap which I want to delete and commit back to the main file.

However the snapshot is not in "virsh snapshot-list domain"
I can run blockpull and until I upgraded libvirt to the one in ubuntu-cloud I could also start a commit
But I cant figure out how to actually delete the snapshot.

I tried to edit the xml file to just point to the original files, but that didnt work (claimed the ds file was not a qcow format).
I am ok with reverting the snapshot or merging it, theres not really any changes to be lost on the guest.

Any ideas is most welcome,
Thanks

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>