<div dir="ltr"><div><div><div>As i said, i can't, for the moment, test the restore process on a new machine.<br> <br><b>Not only. You also have to make sure that files that are in use by your<br>
processes are available on the other machine.</b><br><br></div><div>Input files for example: i have to save them<br></div>In the same directory where i saved img files (imgDir in my case) ? can you give me some details please ?<br>
<br></div>Thanks a lot.<br></div>Bests. <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-16 14:52 GMT+01:00 Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 07/16/2014 05:50 PM, Thouraya TH wrote:<br>
> You use 3 terms interchangeably -- interrupt, stop and kill the process. --Yes<br>
> i want just stay running the ./test.sh script<br>
><br>
</div>> root@thouraya-Lenovo-3000-N500:/home/thouraya# criu dump -vvvv -o dump.log *-R* -t 4172 --shell-job && echo OK<br>
<div class="">> OK<br>
> it works :)<br>
><br>
> Please, i have two other questions which are importants for me:<br>
> 1) i'd like to restart process on a new machine<br>
> Here is restore files in my current machine:<br>
> root@thouraya-Lenovo-3000-N500:/home/thouraya/imgDir# criu restore -d -vvv -o restore.log && echo OK<br>
> OK<br>
> root@thouraya-Lenovo-3000-N500:/home/thouraya/imgDir# ls<br>
> cgroup.img fifo-data.img netlinksk.img sigacts-20099.img<br>
> core-19654.img fifo.img ns-files.img signalfd.img<br>
> core-20099.img filelocks-19654.img packetsk.img signal-p-19654.img<br>
> creds-19654.img filelocks-20099.img pagemap-19654.img signal-p-20099.img<br>
> creds-20099.img fs-19654.img pagemap-20099.img signal-s-19654.img<br>
> dump.log fs-20099.img pages-1.img signal-s-20099.img<br>
> eventfd.img ids-19654.img pages-2.img sk-queues.img<br>
> eventpoll.img ids-20099.img pipes-data.img stats-dump<br>
> eventpoll-tfd.img inetsk.img pipes.img stats-restore<br>
> ext-files.img inotify.img pstree.img tty.img<br>
> fanotify.img inotify-wd.img reg-files.img tty-info.img<br>
> fanotify-mark.img inventory.img remap-fpath.img tunfile.img<br>
> fdinfo-2.img mm-19654.img restore.log unixsk.img<br>
> fdinfo-3.img mm-20099.img sigacts-19654.img<br>
><br>
> Question: i ask what can i do to restart process on the new machine ?<br>
> i have just to send imgDir to the new machine and run the command criu restore ?<br>
<br>
</div>Not only. You also have to make sure that files that are in use by your<br>
processes are available on the other machine.<br>
<div class=""><br>
> i cant't test this now because i haven't another machine with criu ..<br>
><br>
> 2) i have to test criu dumping process with an application ( a binary file which uses some input files)<br>
> i have tested this with blcr, when i restart the process on a new machine, i have to migrate input fileson the machine<br>
> is it the same with criu ?<br>
<br>
</div>Yes.<br>
<br>
Thanks,<br>
Pavel<br>
<br>
</blockquote></div><br></div>