[libvirt-users] 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

Libvirt 1.2.9 + Qemu 2.1 + _____ 发件人: qemu-discuss-bounces+kelphon=redtone.hk@nongnu.org [mailto:qemu-discuss-bounces+kelphon=redtone.hk@nongnu.org] 代表 Payes Anand 发送时间: 2014年11月23日 19:15 收件人: libvirt-users@redhat.com; Eric Blake; qemu-discuss@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

On 11/23/2014 04:15 AM, Payes Anand wrote:
# 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

Hi, The package installed is qemu-kvm-1.5.3-60.el7_0.10.x86_64 on CentOS 7. I have upgraded my libvirt and qemu also, still i am getting the same error ( Operation not supported: live disk snapshot not supported with this QEMU binary ) # virsh version Compiled against library: libvirt 1.2.10 Using library: libvirt 1.2.10 Using API: QEMU 1.2.10 Running hypervisor: QEMU 2.0.0 On Mon, Nov 24, 2014 at 9:52 PM, Eric Blake <eblake@redhat.com> wrote:
# virsh snapshot-create-as small snap1 --disk-only --atomic error: Operation not supported: live disk snapshot not supported with
On 11/23/2014 04:15 AM, Payes Anand wrote: 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

On 11/25/2014 09:54 PM, Payes Anand wrote:
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.
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
participants (3)
-
Eric Blake
-
Payes Anand
-
redtone