[CRIU] Problem with CRIU
Krishan Berwal
krishanberwal1988 at gmail.com
Mon Apr 28 02:23:23 PDT 2014
Dear sir/mam,
i am showing what is actual output after follow the procedure:
root at 3451eead64b2:~/kk# setsid ./abc.sh < /dev/null &> abc.log &
[2] 119
root at 3451eead64b2:~/kk# ps -C abc.sh
PID TTY TIME CMD
42 pts/0 00:00:00 abc.sh
[2]- Done setsid ./abc.sh < /dev/null &>abc.log
root at 3451eead64b2:~/kk# criu dump -vvvv -o dump.log -t 42 --shell-job &&
echo OK
root at 3451eead64b2:~/kk# criu restore -vvvv -o restore.log -t 42 --shell-job
root at 3451eead64b2:~/kk# ls
abc.log abc.sh dump.log restore.log
root at 3451eead64b2:~/kk# cat dump.log
(00.000090) ========================================
(00.000150) Dumping processes (pid: 42)
(00.000157) ========================================
(00.000312) Error (kerndat.c:45): Can't stat self map_files: Operation not
permitted
(00.000342) Unlock network
(00.000355) Unfreezing tasks into 1
(00.000376) Error (cr-dump.c:1870): Dumping FAILED.
root at 3451eead64b2:~/kk# cat restore.log
(00.000092) Warn (crtools.c:418): Using -t with criu restore is obsoleted
(00.000188) Error (image.c:202): Unable to open inventory.img: No such file
or directory
root at 3451eead64b2:~/kk#
*Thanks & Regards*:
Krishan Berwal
krishanberwal1988 at gmail.com
On Mon, Apr 28, 2014 at 12:10 PM, Cyrill Gorcunov <gorcunov at gmail.com>wrote:
> On Mon, Apr 28, 2014 at 11:48:20AM +0530, Krishan Berwal wrote:
> > Dear sir/Mam
> >
> > i am using 3.11.0-20
> > root at dc:/lx# uname -a
> > Linux dc 3.11.0-20-generic #34-Ubuntu SMP Tue Apr 1 20:40:25 UTC 2014
> > x86_64 x86_64 x86_64 GNU/Linux
>
> ok, it's fresh enough
>
> >
> > any clue on this.
> > when i fire the command
> >
> > criu dump -vvvv -o dump.log -t 2621 --shell-job && echo OK
> > even i am not getting the OK message as output.
> >
> > i am getting only two files : dump.log test.log with test.sh
> >
> > any suggestion please ?
>
> show your dump.log
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140428/e738022d/attachment.html>
More information about the CRIU
mailing list