[CRIU] Dumping Process of a LXC container

Thouraya TH thouraya87 at gmail.com
Mon May 18 14:54:39 PDT 2015


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 ?

Thanks a lot.
Best Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150518/947fe6f9/attachment.html>


More information about the CRIU mailing list