[CRIU] Dump LXC with error

Pavel Emelyanov xemul at parallels.com
Mon Mar 9 05:59:40 PDT 2015


On 03/08/2015 10:07 AM, 陈晓 wrote:
> Hi,Pavel Emelyanov:
> *    When I dump lxc whith criu, some error happen? The error message is as follows:*
>    *(00.125980) Stip  (deleted)' tag from './lib/x86_64-linux-gnu/libc-2.19.so (deleted)'*
> *  (00.125985) Dumping ghost file for fd 40 id 0x2c*
> *  (00.125990) Error (files-reg.c:409): Can't dump ghost file /lib/x86_64-linux-gnu/libc-2.19.so of 1845024 size*

This file is mmaped but unlinked, so we can't access it by name. Thus CRIU tries
to copy this file into images, but limits such files' size to be less than 1Mb. Your
files is 1.7Mb.

You can fix the MAX_GHOST_FILE_SIZE constant and recompile CRIU, but dump
will work slower.

> * (00.125997) Error (cr-dump.c:1674): Dump mappings (pid: 9492) failed with -1*
> * (00.126273) bfd: BUF 0x7fc3e64db000 >*
> Thank you! I am looking forward to your reply!
>     Carl
> 
> 

Thanks,
Pavel



More information about the CRIU mailing list