<div dir="ltr"><div><div><div>Same result with --shell-job (it didn&#39;t work !)<br>root@g-80:/home/imgDir# criu restore -d -vvv -o restore.log --shell-job &amp;&amp; echo OK<b><br><br><br></b></div><b>cgroup.img on t</b>he source node:<br>038YÑ^A^@^@<br>à^B^H^B^R^_<br>^Eblkio^R^V/user/0.user/1.session^R^]<br>^Ccpu^R^V/user/0.user/1.session^R!<br>^Gcpuacct^R^V/user/0.user/1.session^R<br>^Fcpuset^R^V/user/0.user/1.session^R!<br>^Gdevices^R^V/user/0.user/1.session^R!<br>^Gfreezer^R^V/user/0.user/1.session^R!<br>^Ghugetlb^R^V/user/0.user/1.session^R<br>^Fmemory^R^V/user/0.user/1.session^R&amp;<br>^Lname=systemd^R^V/user/0.user/1.session^R$<br><br>perf_event^R^V/user/0.user/1.session^R^H<br>^Fcpuset^R^E<br>^Ccpu^R<br>^Gcpuacct^R^H<br>^Fmemory^R<br>^Gdevices^R<br>^Gfreezer^R^G<br>^Eblkio^R^L<br><br>perf_event^R<br>^Ghugetlb^R^N<br>^Lname=systemd<br><br></div>cgroup.img on the destination node: (it&#39;s the same, i have used scp to send the all directory imgDir)<br><br>038YÑ^A^@^@<br>à^B^H^B^R^_<br>^Eblkio^R^V/user/0.user/1.session^R^]<br>^Ccpu^R^V/user/0.user/1.session^R!<br>^Gcpuacct^R^V/user/0.user/1.session^R<br>^Fcpuset^R^V/user/0.user/1.session^R!<br>^Gdevices^R^V/user/0.user/1.session^R!<br>^Gfreezer^R^V/user/0.user/1.session^R!<br>^Ghugetlb^R^V/user/0.user/1.session^R<br>^Fmemory^R^V/user/0.user/1.session^R&amp;<br>^Lname=systemd^R^V/user/0.user/1.session^R$<br><br>perf_event^R^V/user/0.user/1.session^R^H<br>^Fcpuset^R^E<br>^Ccpu^R<br>^Gcpuacct^R^H<br>^Fmemory^R<br>^Gdevices^R<br>^Gfreezer^R^G<br>^Eblkio^R^L<br><br>perf_event^R<br>^Ghugetlb^R^N<br>^Lname=systemd<br><br></div>Bests.<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-03 14:26 GMT+01:00 Pavel Emelyanov <span dir="ltr">&lt;<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 02/03/2015 02:25 PM, Thouraya TH wrote:<br>
<br>
&gt; *i try to migrate the imgDir on a new host:*<br>
&gt;<br>
&gt; scp -r *imgDir *root@*g-80*.xxxxxxx:/home<br>
<span class="">&gt;<br>
&gt; root@g-80:/home# cd imgDir/<br>
&gt; root@g-80:/home/imgDir# ls<br>
&gt; cgroup.img      creds-1849.img  ext-files.img  filelocks.img  ids-1849.img   mm-1249.img    packetsk.img      pages-2.img      sigacts-1249.img  stats-dump<br>
&gt; core-1249.img   creds-1967.img  fanotify.img   fs-1249.img    ids-1967.img   mm-1849.img    pagemap-1249.img  pipes-data.img   sigacts-1849.img  timerfd.img<br>
&gt; core-1849.img   creds-1995.img  fdinfo-2.img   fs-1849.img    ids-1995.img   mm-1967.img    pagemap-1849.img  pipes.img        sigacts-1967.img  tty.img<br>
&gt; core-1967.img   dump.log        fdinfo-3.img   fs-1967.img    inetsk.img     mm-1995.img    pagemap-1967.img  pstree.img       sigacts-1995.img  tty-info.img<br>
&gt; core-1995.img   eventfd.img     fifo-data.img  fs-1995.img    inotify.img    netlinksk.img  pagemap-1995.img  reg-files.img    signalfd.img      tunfile.img<br>
&gt; creds-1249.img  eventpoll.img   fifo.img       ids-1249.img   inventory.img  ns-files.img   pages-1.img       remap-fpath.img  sk-queues.img     unixsk.img<br>
&gt;<br>
&gt;<br>
&gt; root@g-80:/home/imgDir# criu restore -d -vvv -o restore.log &amp;&amp; echo OK<br>
<br>
</span>Same images? The --shell-job is not there again.<br>
<span class=""><br>
&gt; (00.012355)   1249: cg: Move into 2<br>
&gt; (00.012371)   1249: Error (cgroup.c:907): cg: Can&#39;t move into blkio//user/0.user/1.session/tasks (-1/-1): No such file or directory<br>
&gt; (00.012405) Error (cr-restore.c:1838): Restoring FAILED.<br>
&gt; (00.018935) Error (cr-restore.c:1185): 1249 exited, status=1<br>
<br>
</span>This means, that there&#39;s no cgroup called blkio//user/0.user/1.session/tasks.<br>
Can you check what the cgroups are on the source node, on the destination one<br>
and what&#39;s there in the cgroup.img image?<br>
<br>
Thanks,<br>
Pavel<br>
<br>
<br>
</blockquote></div><br></div>