[CRIU] Dumping Process of a LXC container

Tycho Andersen tycho.andersen at canonical.com
Tue May 19 09:53:55 PDT 2015


On Tue, May 19, 2015 at 03:42:08PM +0100, Thouraya TH wrote:
> Thanks a lot for answer.
> 
> i have used the '-v' option. Here is some lines of dump.log
> 
> http://pastie.org/private/60jhklqy2dzdrbxzo7akmg#3

Is this all of it? Pasting the whole log would be useful.

Tycho

> in the first terminal : i run the dumping script. it does the dumping
> process at the beginning but when i access to the repository of checkpoint
> file in a second terminal, then the checkpoint failed !!
> i can't understand the problem..
> 
> Best Regards.
> 
> 2015-05-19 13:15 GMT+01:00 Tycho Andersen <tycho.andersen at canonical.com>:
> 
> > 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