<div dir="ltr">On Thu, Feb 19, 2015 at 2:13 PM, Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 02/19/2015 10:03 PM, Nam Ninh wrote:<br>
> Please find attached restore.log when I run<br>
> criu restore -d --images-dir /tmp/images -o restore.log<br>
><br>
> The content of pstree.img shows:<br>
><br>
> root@128:~# criu show -f /tmp/images/pstree.img<br>
> pid: 1251 ppid: 0 pgid: 1251 sid: 950 threads: 1251<br>
> pid: 1290 ppid: 1251 pgid: 1251 sid: 950 threads: 1290<br>
><br>
<br>
</span>OK. How did you dump this tree? Did you use the -j/--shell-job option?<br></blockquote><div><br></div><div>I dumped using this command:<br>criu dump -t 1251 --images-dir /tmp/images --shell-job --leave-stopped<br><br></div><div>Â </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><br>
><br>
><br>
> On Thu, Feb 19, 2015 at 12:44 PM, Pavel Emelyanov <<a href="mailto:xemul@parallels.com">xemul@parallels.com</a> <mailto:<a href="mailto:xemul@parallels.com">xemul@parallels.com</a>>> wrote:<br>
><br>
>Â Â Â On 02/19/2015 05:45 PM, Nam Ninh wrote:<br>
>Â Â Â > Hi,<br>
>Â Â Â ><br>
>Â Â Â > I follow the instructions at this link to do the live migration of Single Loop application<br>
>Â Â Â > <a href="http://criu.org/Live_migration" target="_blank">http://criu.org/Live_migration</a><br>
>Â Â Â ><br>
>Â Â Â > and get the following error when I try to restore on a destination target:<br>
><br>
>Â Â Â Can you show the contents of the pstree.img file? With the criu show -f pstree.img command.<br>
><br>
>Â Â Â > root@128:~# criu restore -d --images-dir /tmp/images<br>
>Â Â Â >Â Â 1545: Error (cr-restore.c:1258): Requested sid 965 doesn't match inherited 1260<br>
>Â Â Â >Â Â 1378: Error (cr-restore.c:1185): 1545 exited, status=1<br>
><br>
>Â Â Â And, if possible, the full restore.log file.<br>
><br>
>Â Â Â > When I apply this patch, the migration works fine:<br>
>Â Â Â > <a href="https://lists.openvz.org/pipermail/criu/2012-April/002291.html" target="_blank">https://lists.openvz.org/pipermail/criu/2012-April/002291.html</a><br>
>Â Â Â ><br>
>Â Â Â > I am using CRIU version 1.4 and kernel 3.14. Would you please tell me if I miss anything?<br>
>Â Â Â ><br>
>Â Â Â > Thanks,<br>
>Â Â Â > Nam<br>
>Â Â Â ><br>
>Â Â Â ><br>
>Â Â Â ><br>
>Â Â Â > _______________________________________________<br>
>Â Â Â > CRIU mailing list<br>
</span>>Â Â Â > <a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a> <mailto:<a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a>><br>
>Â Â Â > <a href="https://lists.openvz.org/mailman/listinfo/criu" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
>Â Â Â ><br>
><br>
><br>
<br>
</blockquote></div><br></div></div>