[CRIU] question on live migration for docker container using CRIU

mona kashkoush monakashkoush89 at gmail.com
Tue Dec 30 17:36:21 PST 2014


i tried to  do a live migration for docker container using CRIU 1.4 but
dumping failed and this error appeared

$  criu dump --tree <pid> --images-dir <path-to-existing-directory>
--leave-stopped

Error (mount.c:624): 125:./etc/hosts doesn't have a proper root mount
Error (files-reg.c:764): Unaccessible path opened 52:21244, need 5:1029
Error (cr-dump.c:1601): Dump files (pid: 3906) failed with -1
Error (cr-dump.c:1964): Dumping FAILED.

and when i used the automated script "docker_cr.sh " for docker container
migration , this succeeded for dumping  but failed for restoring and this
error appeared

$ /src/criu-1.4/contrib/docker_cr.sh -r -v <container_id>

restore failed
(00.072030)      1: Error (mount.c:1543): Can't mount at ./.dockerinit: No
such file or directory
(00.072076) Error (cr-restore.c:1838): Restoring FAILED.

* this is information about docker which i used

Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Dirs: 67
Execution Driver: native-0.2
Kernel Version: 3.13.0-43-generic

thanks for your time
-- 
Mona Salah
Research Assistant
IRI institute
The City of Scientific Research and Technology Applications,Alex , Egypt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20141231/0c8a4eea/attachment.html>


More information about the CRIU mailing list