<div dir="ltr">It works with writeback cache.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-12 4:04 GMT+10:00 Maxim Terletskiy <span dir="ltr"><<a href="mailto:terletskiy@emu.ru" target="_blank">terletskiy@emu.ru</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Is it works with 'default/writeback' cache or only with 'none' cache
type?<br>
<br>
<div>17.12.2014 2:43, Vladislav Gorbunov
пишет:<br>
</div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>Sorry,</div>
<div><span style="font-size:13px">try to add </span>--unsafe<span style="font-size:13px"> to the virsh migrate command.</span></div>
<div>
<div style="font-size:13px">Live migration with sheepdog 0.9
work in OpenNebula 4.10 </div>
<div style="font-size:13px"><a href="https://github.com/OpenNebula/addon-sheepdog" target="_blank">https://github.com/OpenNebula/addon-sheepdog</a></div>
</div>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2014-12-12 19:16 GMT+10:00 Jónás Zsolt
<span dir="ltr"><<a href="mailto:jonas.zsolt@naxonet.hu" target="_blank">jonas.zsolt@naxonet.hu</a>></span>:
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi,<br>
<br>
<br>
I'm testing sheepdog 0.9 on two hosts.<br>
<br>
<br>
I tried to do kvm live migration:<br>
$ virsh migrate --live test-vm
qemu+ssh://test-host2/system<br>
<br>
<br>
but I get the following error:<br>
error: internal error: process exited while connecting to
monitor: qemu-system-x86_64: -drive
file=sheepdog:test-vm-disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none:
cannot get vdi info, VDI is already locked, test-vm-disk 0<br>
qemu-system-x86_64: -drive
file=sheepdog:test-vm-disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none:
could not open disk image sheepdog:test-vm-disk: Could not
open 'sheepdog:test-vm-disk': Input/output error<br>
<br>
<br>
the VDI is locked by dog:<br>
$ dog vdi lock list<br>
VDI | owner node<br>
test-vm-disk | IPv4 ip:test-host1 port:7000<br>
<br>
<br>
if I remove the VDI lock the live migration works
correctly:<br>
$ dog vdi lock unlock test-vm-disk<br>
<br>
but after the live migration I can't relock the VDI.<br>
<br>
<br>
VM disk definition:<br>
<disk type='network' device='disk'><br>
<driver name='qemu' type='qcow2'
cache='none'/><br>
<source protocol='sheepdog'
name='test-vm-disk'/><br>
<target dev='vda' bus='virtio'/><br>
</disk><br>
<br>
<br>
How can I do the live migration safely with sheepdog 0.9?<br>
<span lang="en"><span>Or what am I doing</span> <span>wrong?</span></span><br>
<br>
<br>
os: Ubuntu 14.04.1 LTS<br>
qemu: QEMU emulator version 2.0.0 (Debian
2.0.0+dfsg-2ubuntu1.7)<br>
sheepdog: Sheepdog daemon version 0.9.0<br>
<br>
<br>
Thank you for your help!<br>
<br>
<br>
jonci<br>
<br>
<br>
</div>
<br>
--<br>
sheepdog-users mailing lists<br>
<a href="mailto:sheepdog-users@lists.wpkg.org" target="_blank">sheepdog-users@lists.wpkg.org</a><br>
<a href="http://lists.wpkg.org/mailman/listinfo/sheepdog-users" target="_blank">http://lists.wpkg.org/mailman/listinfo/sheepdog-users</a><br>
<br>
</blockquote>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div></div></div>
<br>--<br>
sheepdog-users mailing lists<br>
<a href="mailto:sheepdog-users@lists.wpkg.org">sheepdog-users@lists.wpkg.org</a><br>
<a href="https://lists.wpkg.org/mailman/listinfo/sheepdog-users" target="_blank">https://lists.wpkg.org/mailman/listinfo/sheepdog-users</a><br>
<br></blockquote></div><br></div>