[CRIU] Error in dumping LXC container

Andrew Vagin avagin at parallels.com
Wed Jan 21 00:42:48 PST 2015


On Tue, Jan 20, 2015 at 11:26:05PM +0300, Pavel Emelyanov wrote:
> On 01/20/2015 11:24 PM, Andrey Wagin wrote:
> > 2015-01-20 23:17 GMT+03:00 Pavel Emelyanov <xemul at parallels.com>:
> >> On 01/20/2015 07:32 PM, beproject criu wrote:
> >>> Hi,
> >>> I am trying to dump a lxc container using the below command
> >>>
> >>> #criu dump --root /usr/local/lib/lxc/rootfs/root --evasive-devices \
> >>> --tcp-established --ext-mount-map /dev:dev --file-locks -n net -n mnt \
> >>> -n ipc -n pid -vvvvvvvv -D data -o dumplog.txt -t 82
> >>>
> >>> but i am getting the following errors. I have attached the full dumplog file with this mail.
> >>>
> >>> (03.458634) Error (mount.c:595): FS mnt ./cache dev 0x1f00002 root / unsupported id 3a
> >>
> >> Which filesystem is mounted inside container into /cache directory?
> >>
> >>> (03.458850) Collecting netns 8/82
> >>> (03.458979) Switching to 82's net for collecting sockets
> >>> .
> >>> (03.501004) Error (mount.c:2257): The root task has another root than mntns: /usr/local/lib/lxc/rootfs/root
> >>
> >> Andrey? What does it mean?
> > 
> > /usr/local/lib/lxc/rootfs/root isn't a mount point
> 
> Why should it be such?

Sorry, I was thinking about restore. Here is another problem. Probably
it's android. In this case LXC can not do pivot_root() and a container mount
namespace contains all mounts from the host mount namespace. We don't
support this configuration yet.

> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list