[CRIU] CRIU Docker Restore with Error: Bad File Size

Z F full015zf at yahoo.com
Tue Aug 4 01:04:26 PDT 2015


Hi,
I am trying criu docker checkpoint/restore  external example (without AUFS) provided by Docker
|   |
|   |   |   |   |   |
| DockerThis HOWTO page describes how to checkpoint and restore a Docker container. |
|  |
| View on criu.org | Preview by Yahoo |
|  |
|   |


The experiment was in the same host. And the restore failed with error:
(00.210352)      1: Error (files-reg.c:1055): File usr/bin/bash has bad size 960384 (expect 960392)(00.210357)      1: Error (cr-restore.c:255): Can't fixup VMA's fd(00.214642) Error (cr-restore.c:1912): Restoring FAILED.

The cause is that the /usr/bin/bash in host and container have different size. While in my mind, restore of container would load the container's image and file system and load the container's bash. Anything wrong with my experiment? 
Test log and criu log attached. Thank you very much!


Best RegardsZhang Fan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150804/a2fd168b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.zip
Type: application/x-zip-compressed
Size: 16742 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150804/a2fd168b/attachment-0001.bin>


More information about the CRIU mailing list