[CRIU] Unable to checkpoint LXC containers using criu

Tycho Andersen tycho.andersen at canonical.com
Sun Apr 26 23:31:00 PDT 2015


Hi Swapnil,

On Sat, Apr 25, 2015 at 05:50:27PM -0500, Swapnil Haria wrote:
> Hi,
> 
> I am trying to checkpoint an LXC container using the instructions posted
> here - http://tycho.ws/blog/2014/09/container-migration.html.
> 
> I am running Ubuntu 14.10 and the spawned container has Ubuntu 14.04. The
> LXC version is 1.1, and the criu version is 1.5.1. The root filesystem type
> is ext4.
> 
> I have added the following to the container config file:
> 
> |# hax for criu
> lxc.console = none
> lxc.tty = 0
> lxc.cgroup.devices.deny = c 5:1 rwm|
> 
> but when I'm trying to run
> 
> lxc-checkpoint -n $name -D $checkpoint_dir -s -v
> 
> I see this error message -
> Error (mount.c:595): FS mnt ./sys/fs/selinux type unsupported dev 0xf root
> / unsupported id 35
> Error (cr-dump.c:1979): Dumping FAILED.

Can you just unmount the selinux fs? I'm not sure where you got this
from, I don't think we have selinux installed by default.

> Can someone let me know what the problem could be? Is there any particular
> configuration for the host and guest machine that is needed for
> checkpointing lxc containers?

Depending on what guest/host you need, it may be best to run with the
current git master of criu and lxc. If you're running on vivid, you'll
definitely need the current git master of criu.

Tycho

> Thanks,
> Swapnil Haria

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



More information about the CRIU mailing list