[CRIU] Trying to Checkpoint LXC

Pavel Emelyanov xemul at parallels.com
Sat Nov 30 20:36:32 PST 2013


On 11/29/2013 11:39 PM, Nipun Arora wrote:
> Hi all,
> 
> Thanks for the assist, I still seem to be having problems. Is there any other specific configuration flags I need to be aware of ? 
> Even with the lxc.console = none in the config still seem to have some issues.

Below is the list of mounts found in you container's mount namespace:

(00.153292) [/](68->40)
(00.153295)  [/run](44->68)
(00.153298)   [/run/user](47->44)
(00.153301)   <--
(00.153303)   [/run/lock](45->44)
(00.153306)   <--
(00.153308)   [/run/shm](46->44)
(00.153311)   <--
(00.153313)  <--
(00.153315)  [/proc](69->68)
(00.153318)  <--
(00.153320)  [/sys](70->68)
(00.153323)   [/sys/fs/cgroup](43->70)
(00.153325)   <--
(00.153328)   [/sys/fs/fuse/connections](71->70)
(00.153330)   <--
(00.153333)   [/sys/kernel/debug](72->70)
(00.153335)   <--
(00.153338)   [/sys/kernel/security](73->70)
(00.153340)   <--
(00.153342)   [/sys/fs/pstore](74->70)
(00.153345)   <--
(00.153347)  <--
(00.153350)  [/dev/lxc/tty1](75->68)
(00.153352)  <--
(00.153355)  [/dev/lxc/tty2](76->68)
(00.153357)  <--
(00.153359)  [/dev/lxc/tty3](77->68)
(00.153362)  <--
(00.153364)  [/dev/lxc/tty4](78->68)
(00.153367)  <--
(00.153369)  [/dev/pts](41->68)
(00.153372)  <--
(00.153374)  [/dev/ptmx](42->68)
(00.153377)  <--
(00.153379) <--
(00.153387) Error (mount.c:254): 78:/dev/lxc/tty4 doesn't have a proper root mount
(00.153819) Error (namespaces.c:442): Namespaces dumping finished with error 65280

The Error mount.c:254 says, that you still have bind mounted tty-s
in your container and the list of mounts says you do. Maybe there's
some other stuff in the container's config file you should tweak?

Optionally you can unmount the /dev/lxc/tty* by hands before running criu dump.

> Here is the dump.log attached...
> 
> Thanks
> Nipun

Thanks,
Pavel


More information about the CRIU mailing list