[CRIU] Migration and Restart of http://criu.org/Simple_loop
Pavel Emelyanov
xemul at parallels.com
Tue Feb 3 05:26:22 PST 2015
On 02/03/2015 02:25 PM, Thouraya TH wrote:
> *i try to migrate the imgDir on a new host:*
>
> scp -r *imgDir *root@*g-80*.xxxxxxx:/home
>
> root at g-80:/home# cd imgDir/
> root at g-80:/home/imgDir# ls
> 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
> 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
> 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
> 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
> 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
> 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
>
>
> root at g-80:/home/imgDir# criu restore -d -vvv -o restore.log && echo OK
Same images? The --shell-job is not there again.
> (00.012355) 1249: cg: Move into 2
> (00.012371) 1249: Error (cgroup.c:907): cg: Can't move into blkio//user/0.user/1.session/tasks (-1/-1): No such file or directory
> (00.012405) Error (cr-restore.c:1838): Restoring FAILED.
> (00.018935) Error (cr-restore.c:1185): 1249 exited, status=1
This means, that there's no cgroup called blkio//user/0.user/1.session/tasks.
Can you check what the cgroups are on the source node, on the destination one
and what's there in the cgroup.img image?
Thanks,
Pavel
More information about the CRIU
mailing list