[lxc-users] LXC Checkpoint

Thouraya TH thouraya87 at gmail.com
Wed Oct 1 20:19:41 UTC 2014


Hello,
i have this on the first terminal:
root at thouraya-Lenovo-3000-N500:~# lxc-attach -n u1
root at u1:~# ls
root at u1:~# ls
root at u1:~#

in the second, i have done:
root at thouraya-Lenovo-3000-N500
:/home/thouraya# sudo lxc-checkpoint -s -D /tmp/checkpoint -n u1
lxc_container: lxccontainer.c: exec_criu: 3566 Couldn't find criu binary

Checkpointing u1 failed.

as i remember i have already configured the path:
root at thouraya-Lenovo-3000-N500:/home/thouraya# criu

Usage:
  criu dump|pre-dump -t PID [<options>]
  criu restore [<options>]
  criu show (-D DIR)|(-f FILE) [<options>]
  criu check [--ms]
  criu exec -p PID <syscall-string>
  criu page-server
  criu service [<options>]
  criu dedup

Commands:
  dump           checkpoint a process/tree identified by pid
pre-dump       pre-dump task(s) minimizing their frozen time
  restore        restore a process/tree
  show           show dump file(s) contents
  check          checks whether the kernel support is up-to-date
  exec           execute a system call by other task
  page-server    launch page server
  service        launch service
  dedup          remove duplicates in memory dump

Try -h|--help for more info

Here i'm not a root:

thouraya at thouraya-Lenovo-3000-
N500:~$ lxc-checkpoint -s -D /tmp/checkpoint -n u1
u1 is not defined
thouraya at thouraya-Lenovo-3000-N500:~$

thouraya at thouraya-Lenovo-3000-
N500:~$ sudo lxc-ls -f
[sudo] password for thouraya:
NAME  STATE    IPV4        IPV6  GROUPS  AUTOSTART
--------------------------------------------------
u1    RUNNING  10.0.3.216  -     -       NO
thouraya at thouraya-Lenovo-3000-N500:~$ lxc-ls -f
NAME  STATE  IPV4  IPV6  GROUPS  AUTOSTART
------------------------------------------
thouraya at thouraya-Lenovo-3000-N500:~$


Have you an idea please ?

Thanks a lot.
Best Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20141001/716fc6b5/attachment-0001.html>


More information about the lxc-users mailing list