Hello,<div><br></div><div>I want to do a snapshot which the VM has volumes.</div><div><br></div><div>But I want to skip the volume check when I do the snapshot. (Which means I want to do a snapshot without detaching the volume)</div>
<div><br></div><div>So I try to write a snapshot XML refer by <a href="http://libvirt.org/formatsnapshot.html">http://libvirt.org/formatsnapshot.html</a> as following:</div><div><br></div><div>vda is my VM basic disk (qcow2)</div>
<div>vdb is a volume (raw)</div><div>================ t1.xml ===============</div><div><div><domainsnapshot></div><div><disks></div><div><disk name='vda' snapshot='internal'></div><div><source file='/var/lib/libvirt/VM1/disk' /></div>
<div></disk></div><div><disk name='vdb' snapshot='no' /></div><div></disks></div><div></domainsnapshot></div></div><div>=====================================</div><div><br></div><div>
with this command: # virsh snapshot-create VM1 --xmlfile t1.xml</div><div><br></div><div>and get the message: # error: argument unsupported: unable to handle disk requests in snapshot</div><div><br></div><div>My environment is Libvirt 0.9.8, Qemu 1.0.0 on Ubuntu12.04.02</div>
<div><br></div><div>I try to do this action before at libvirt 0.9.2 QEMU 0.14.1 on Ubuntu 11.10 before with following commands, It's success.</div><div><br></div><div>Step1. I copy the XML from /etc/libvirt/qemu/VM1.xml to VM1.xml.backup</div>
<div>Step2. I edit the VM1.xml to remove the disk tag which is create by volume</div><div>Step3. do virsh command: virsh snapshot-create VM1</div><div>Step4. Move VM1.xml.backup to VM1.xml</div><div><br></div><div>It's success on libvirt 0.9.2. But on 0.9.8 It doesn't work. Because libvirt will check the setups from memory not the XML file in /etc/libvirt/qemu/</div>
<div><br></div><div>What could I do with libvirt 0.9.8?</div><div><br></div><div>Thanks in advance.</div>