[CRIU] Restore CRIU image across a host

Hui Kang hkang.sunysb at gmail.com
Tue Aug 4 14:01:14 PDT 2015


Hi,
I am trying to restore the process on a different criu host by transferring
the CRIU images. The checkpointed criu images are scp-ed to a different
host; however the restore fails. The restore.log shows that

(00.075765)      1: nr_restored_pages: 66
(00.075772)      1: nr_shared_pages:   0
(00.075779)      1: nr_droped_pages:   0
(00.075829)      1: Found fd 1 (id pipe:[13922]) in inherit fd list (caller
close_old_fds)
(00.075841)      1: Found fd 2 (id pipe:[13923]) in inherit fd list (caller
close_old_fds)
(00.075859)      1: cg: Move into 2
 1: cg:   `-> blkio//[PID]/tasks
(00.075906)      1: cg:   `-> cpu//[PID]/tasks
(00.075946)      1: cg:   `-> cpuacct//[PID]/tasks
(00.075967)      1: cg:   `-> cpuset//[PID]/tasks
(00.076008)      1: Error (cgroup.c:901): cg: Can't move into
cpuset//[PID]/tasks (-1/0): No space left on device
(00.082249) Error (cr-restore.c:1919): Restoring FAILED.

Note that the process being migrated has its cgroup directory in the source
node, which apparently does not exist in the destination host. So I first
mkdir /sys/fs/cgroup/cpu/PID .... and copy the content from the source to
destination.

Is there anything wrong in these steps? Thanks.

- Hui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150804/215f9c30/attachment.html>


More information about the CRIU mailing list