Changes

Libvirt external snapshot with GlusterFS

885 bytes added, 08:48, 9 May 2014
/* Cleanup/Commit (Online) */
"id": "libvirt-28"
}
</pre>
 vmUnfortunately libvirt does not handle block-testjobs well which it didn't start. They hang forever while Qemu waits for <code>block-02 job-complete</code>:<pre>~ # virsh blockjob e43a2954-3914-465f-9391-9e63b52ec2f5 vda
Block Commit: [100 %]
~ #virsh qemu-monitor-command e43a2954-3914-465f-9391-9e63b52ec2f5 --pretty '{"execute": "query-block-jobs"}'{ "return": [ { "io-status": "ok", "device": "drive-virtio-disk0", "busy": false, "len": 214748364800, "offset": 214748364800, "paused": false, "speed": 0, "type": "commit" } ], "id": "libvirt-88"}
</pre>
The So, one has to issue the <code>block -job is running on 100% for a long time until finished.-complete</code> manually again:<pre>~ # virsh qemu-monitor-command e43a2954-3914-465f-9391-9e63b52ec2f5 --pretty '{"execute": "block-job-complete", "arguments": { "device": "drive-virtio-disk0"} }'{ "return": {  }, "id": "libvirt-93"} ~ # virsh blockjob e43a2954-3914-465f-9391-9e63b52ec2f5 vda ~ #</pre>
Check Now check the image images again:
<pre>
~ # virsh qemu-monitor-command --hmp e43a2954-3914-465f-9391-9e63b52ec2f5 "info block"
Bureaucrat, administrator
425
edits