[CRIU] Mount error while restore

Pavel Emelyanov xemul at parallels.com
Fri Mar 13 12:00:38 PDT 2015


On 03/13/2015 09:44 PM, beproject criu wrote:
> This is the mountpoint(mnt_id 47 or 0x2f), which gives error and my container is L so its the container's root, right?
> (00.846139)     type ext2 source /dev/mmcblk0 mnt_id 0x2f s_dev 0xb300000 /L/rootfs @ ./ flags 0x280000 options

Yes.

> As we know mnt_id and parent_mnt_id  of root or 1st mount in mount tree are same,
> so can changing 46 to 47 in our case work?

I don't understand this, can you rephrase?

> After seeing my logs an you tell me what should be my correct --ext-mount-map for /dev/console. I
> am stuck for mappings of /dev/console while restore,this will be very helpful.
> Error (mount.c:1920): No mapping for /dev/console mountpoint

You should on dump provide some string ID to the /dev/console mount and on
restore map this ID to the path on host you want to bind mount it into container.

http://criu.org/External_bind_mounts

Thanks,
Pavel



More information about the CRIU mailing list