[CRIU] Dumping Process of a LXC container

Tycho Andersen tycho.andersen at canonical.com
Tue May 19 05:15:24 PDT 2015


On Mon, May 18, 2015 at 10:54:39PM +0100, Thouraya TH wrote:
> Hello all :)
> 
> Here is my script: i try to do the dumping process in parallel with its
> running
> 
> #!/bin/bash
> 
> if [ $# -ne 1 ]
> then
>  echo "USE: ./Dumping.sh worker-name"
>  else
> 
> lxc-start -n $1 & my_pid=$!
> sleep 10
> mkdir $1
> while lxc-checkpoint -D  /home/$1 -n  $1  $my_pid
> do
> 
>          sleep 20
>          rm /home/$1/*
> 
> done
> 
> fi
> 
> 
> it does the dumping process at the beginning but then i have  these errors :
> 
> # ./Dumping.sh g6-worker1
> 
> Checkpointing g6-worker1 failed.
> 
> Have you an idea please how can i improve my script ?

Use -v and paste the log. Also, please keep lxc specific discussion on
the LXC mailing list.

Tycho

> Thanks a lot.
> Best Regards.

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



More information about the CRIU mailing list