[Users] Online snapshot
Winfried de Heiden
wdh at dds.nl
Thu Jun 28 08:40:03 UTC 2012
Hi all,
It seems live snapshot is available in the Fedora 17 qemu-kvm. On my
laptop with kvm, virt-manager, libvirt, virsh etc. I created a virtual
machine and tried to make a live snapshot:
virsh -c qemu:///system
Welcome to virsh, the virtualization interactive terminal.
Type: 'help' for help with commands
'quit' to quit
virsh # list
Id Name State
----------------------------------------------------
1 RHEL55_NTP running
virsh # snapshot-create RHEL55_NTP
Domain snapshot 1340871802 created
virsh # snapshot-list RHEL55_NTP
Name Creation Time State
------------------------------------------------------------
1340871724 2012-06-28 10:22:04 +0200 running
1340871802 2012-06-28 10:23:22 +0200 running
Both my laptop and the Virtio vdsm machine are using the same package:
[root at kvm ~]# rpm -qf `which qemu-kvm`
qemu-system-x86-1.0-17.fc17.x86_64
[wdh at laptop-winfried ~]$ rpm -qf `which qemu-kvm`
qemu-system-x86-1.0-17.fc17.x86_64
Op 28-06-12 03:29, Itamar Heim schreef:
> On 06/27/2012 10:47 AM, Winfried de Heiden wrote:
>> Hi all,
>>
>>
>> Trying to create an online (vm still running) fails; attachted is de
>> vdsm logfile trying to create a live snapshot.
>>
>> Some details:
>>
>> hypervisor = Fedora 17 + vdsm, all the latest updates etc.
>>
>> [root at kvm vdsm]# rpm -qi vdsm
>> Name : vdsm
>> Version : 4.10.0
>> Release : 2.fc17
>> Architecture: x86_64
>> Install Date: wo 27 jun 2012 12:08:20 CEST
>> Group : Applications/System
>> Size : 2425943
>> License : GPLv2+
>> Signature : (none)
>> Source RPM : vdsm-4.10.0-2.fc17.src.rpm
>> Build Date : vr 22 jun 2012 12:52:54 CEST
>> Build Host : x86-11.phx2.fedoraproject.org
>> Relocations : (not relocatable)
>> Packager : Fedora Project
>> Vendor : Fedora Project
>> URL : http://www.ovirt.org/wiki/Vdsm
>> Summary : Virtual Desktop Server Manager
>> Description :
>> The VDSM service is required by a Virtualization Manager to manage the
>> Linux hosts. VDSM manages and monitors the host's storage, memory and
>> networks as well as virtual machine creation, other host administration
>> tasks, statistics gathering, and log collection.
>>
>> BTL, sanlock is disabled in qemu.conf (#lock_manager="sanlock"), I
>> cannot install a vm when it's enabled. Is that related?
>
> this is the relevant error coming from libvirt.
> maybe fedora 17 qemu-kvm does not have live snapshot support?
>
> Thread-306::ERROR::2012-06-27
> 12:46:40,178::libvirtvm::1782::vm.Vm::(snapshot)
> vmId=`ef978066-09c8-40aa-8e0b-4accfacc15bd`::Unable to take snapshot
> Traceback (most recent call last):
> File "/usr/share/vdsm/libvirtvm.py", line 1780, in snapshot
> libvirt.VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT))
> File "/usr/share/vdsm/libvirtvm.py", line 491, in f
> ret = attr(*args, **kwargs)
> File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py",
> line 82, in wrapper
> ret = f(*args, **kwargs)
> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1443, in
> snapshotCreateXML
> if ret is None:raise libvirtError('virDomainSnapshotCreateXML()
> failed', dom=self)
> libvirtError: unsupported configuration: reuse is not supported with
> this QEMU binary
More information about the Users
mailing list