[CRIU] link_remap_ok

Pavel Emelyanov xemul at parallels.com
Thu Feb 26 13:44:51 PST 2015


On 02/27/2015 12:33 AM, beproject criu wrote:
> This is the error when is used --link-remap option:
> Error (files-reg.c:508): Can't link remap to /usr/local/lib/lxc/rootfs/root/dev/__properties__: No such file or directory

Hm... The error ENOENT appears either because either a) criu is run not from user or 
inside user namespace or b) the dirname of the path in question doesn't exits.

Can you find out which of the above is your case?

> Also i have another error
> Error (mount.c:624): 53:./dev/console doesn't have a proper root mount

This is because /dev/console is bind-mounted from outside. Should be fixed by the
--ext-mount-map option.

> Thanks.
> 
> On Fri, Feb 27, 2015 at 1:10 AM, Pavel Emelyanov <xemul at parallels.com <mailto:xemul at parallels.com>> wrote:
> 
>     On 02/26/2015 10:31 PM, beproject criu wrote:
>     > Hi,
>     > What is the significance of "link_remap_ok" in cr_options
> 
>     This allows CRIU to modify your filesystem with temporary links
>     needed to restore files.
> 
>     http://criu.org/Invisible_files
> 
>     > I am getting following error wihile dumping fd.What could be the reason
>     >
>     > (02.230588) Error (files-reg.c:472): Can't create link remap for /usr/local/lib/lxc/rootfs/root/dev/__properties__. Use link-remap option.
> 
>     Use the link-remap option ;)
> 
>     # ./criu --help | fgrep link-remap
>       --link-remap          allow to link unlinked files back when possible
> 
>     Thanks,
>     Pavel
> 
> 
> 



More information about the CRIU mailing list