Discussion:
[libvirt-users] Live Disk Snapshot Not Supported
Payes Anand
2014-11-23 11:15:04 UTC
Permalink
# virsh snapshot-create-as small snap1 --disk-only --atomic
error: Operation not supported: live disk snapshot not supported with this
QEMU binary
OS used: CentOS 7
#virsh version
Compiled against library: libvirt 1.1.1
Using library: libvirt 1.1.1
Using API: QEMU 1.1.1
Running hypervisor: QEMU 1.5.3

Any help would be greatly appreciated.

Best Regards,
Payes
redtone
2014-11-23 14:50:03 UTC
Permalink
Libvirt 1.2.9 +

Qemu 2.1 +



_____

·¢ŒþÈË: qemu-discuss-bounces+kelphon=***@nongnu.org
[mailto:qemu-discuss-bounces+kelphon=***@nongnu.org] Žú±í Payes Anand
·¢ËÍʱŒä: 2014Äê11ÔÂ23ÈÕ 19:15
ÊÕŒþÈË: libvirt-***@redhat.com; Eric Blake; qemu-***@nongnu.org
Ö÷Ìâ: [Qemu-discuss] Live Disk Snapshot Not Supported



# virsh snapshot-create-as small snap1 --disk-only --atomic
error: Operation not supported: live disk snapshot not supported with this
QEMU binary
OS used: CentOS 7
#virsh version
Compiled against library: libvirt 1.1.1
Using library: libvirt 1.1.1
Using API: QEMU 1.1.1
Running hypervisor: QEMU 1.5.3

Any help would be greatly appreciated.





Best Regards,


Payes
Eric Blake
2014-11-24 16:22:58 UTC
Permalink
Post by Payes Anand
# virsh snapshot-create-as small snap1 --disk-only --atomic
error: Operation not supported: live disk snapshot not supported with this
QEMU binary
OS used: CentOS 7
Libvirt can't do live snapshots if the underlying qemu cannot. Since
you are using CentOS, I'd look into finding the qemu-kvm-rhev package
(the default qemu-kvm package is intentionally shipped with fewer
supported features, and you have run into one of those features).
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Eric Blake
2014-11-26 04:58:56 UTC
Permalink
Hi,
[please don't top-post on technical lists]
The package installed is qemu-kvm-1.5.3-60.el7_0.10.x86_64 on CentOS 7.
You need qemu-kvm-rhev, not plain qemu-kvm.
Post by Eric Blake
Libvirt can't do live snapshots if the underlying qemu cannot. Since
you are using CentOS, I'd look into finding the qemu-kvm-rhev package
(the default qemu-kvm package is intentionally shipped with fewer
supported features, and you have run into one of those features).
Quoting Paolo Bonzini's earlier mail
(https://lists.gnu.org/archive/html/qemu-devel/2014-11/msg03379.html):

Luckily, since you are using CentOS you do not really care about
official Red Hat RPMs, and you can get the packages here:

http://resources.ovirt.org/pub/ovirt-3.5/rpm/el7Server/

This yum repository file will help:

[qemu-kvm-rhev]
name=oVirt rebuilds of qemu-kvm-rhev
baseurl=http://resources.ovirt.org/pub/ovirt-3.5/rpm/el7Server/

mirrorlist=http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-3.5-el7Server
enabled=1
skip_if_unavailable=1
gpgcheck=0

Drop it in /etc/yum.repos.d/qemu-kvm-rhev.repo and install qemu-kvm-rhev
with yum. All features will be available. It would be simpler to have
a CentOS SIG build this, but it hasn't happened yet.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Loading...