Comments on: How to Create KVM Virtual Machine Snapshot with Virsh Command https://www.linuxtechi.com/create-revert-delete-kvm-virtual-machine-snapshot-virsh-command/ Fri, 13 Oct 2023 01:32:56 +0000 hourly 1 By: Pradeep Kumar https://www.linuxtechi.com/create-revert-delete-kvm-virtual-machine-snapshot-virsh-command/#comment-13181 Fri, 09 Aug 2019 15:12:52 +0000 https://www.linuxtechi.com/?p=7469#comment-13181 In reply to shirish.

QEMU libraries are old that’s why online commit is not possible in your current qemu library, You need to install QEMU 2.1 ( and above), libvirt-1.2.9 (and above)

]]>
By: shirish https://www.linuxtechi.com/create-revert-delete-kvm-virtual-machine-snapshot-virsh-command/#comment-13159 Fri, 09 Aug 2019 07:02:16 +0000 https://www.linuxtechi.com/?p=7469#comment-13159 Not able to merge snapshot to existing disk

**KVM and qemu RPM info :-**
[root@shirish_rhel ~]# rpm -qa | grep -i qemu
qemu-kvm-common-1.5.3-167.el7.x86_64
qemu-img-1.5.3-167.el7.x86_64
ipxe-roms-qemu-20180825-2.git133f4c.el7.noarch
libvirt-daemon-driver-qemu-4.5.0-23.el7.x86_64
qemu-kvm-1.5.3-167.el7.x86_64
qemu-kvm-tools-1.5.3-167.el7.x86_64

[root@shirish_rhel ~]# virsh snapshot-list –domain centos7.0
Name Creation Time State
————————————————————
testVM2-firstSNAP35 2019-08-08 13:22:11 -0400 shutoff
testVM2-firstSNAP36 2019-08-08 13:24:48 -0400 shutoff
testVM2-firstSNAP37 2019-08-08 13:27:13 -0400 shutoff

[root@shirish_rhel ~]# virsh snapshot-info –domain centos7.0 –snapshotname testVM2-firstSNAP37
Name: testVM2-firstSNAP37
Domain: centos7.0
Current: yes
State: shutoff
Location: external
Parent: –
Children: 0
Descendants: 0
Metadata: yes

**if VM is shutdown :-**

[root@shirish_rhel ~]# virsh blockcommit centos7.0 vda –active –verbose –pivot
error: Requested operation is not valid: domain is not running

**if VM is Running :-**
[root@shirish_rhel ~]# virsh blockcommit centos7.0 vda –active –verbose –pivot
error: unsupported configuration: online commit not supported with this QEMU binary

]]>
By: Samanta Ujjal https://www.linuxtechi.com/create-revert-delete-kvm-virtual-machine-snapshot-virsh-command/#comment-6783 Thu, 13 Dec 2018 09:20:35 +0000 https://www.linuxtechi.com/?p=7469#comment-6783 hi ,
if i destroy the vm Can i recover it from the snapahot

]]>
By: Giri https://www.linuxtechi.com/create-revert-delete-kvm-virtual-machine-snapshot-virsh-command/#comment-3622 Thu, 08 Mar 2018 15:13:27 +0000 https://www.linuxtechi.com/?p=7469#comment-3622 Question:
Lets say you have 3 snapshots, A B and C, taken in that order (thats C taken after B taken after A) with C as the current snapshot. If I want to delete the snapshots A and B, will the command still work. If yes, do you see potential problems of doing these?

]]>
By: sampath https://www.linuxtechi.com/create-revert-delete-kvm-virtual-machine-snapshot-virsh-command/#comment-3259 Mon, 05 Feb 2018 03:33:47 +0000 https://www.linuxtechi.com/?p=7469#comment-3259 Thanks dude for the article.

]]>