[CRIU] Migration and Restart of http://criu.org/Simple_loop

Thouraya TH thouraya87 at gmail.com
Wed Feb 4 02:02:44 PST 2015


1) i have done the test
*without sending results.txt*
*restore.log*

(00.014439)   1633: Error (files-reg.c:1024): *Can't open file
home/results.txt on restore: No such file or directory *
297,1         96%
(00.014466)   1747:     Restoring fd 0 (state ->
prepare)
298,1         96%
(00.014470)   1633: Error (files-reg.c:967):


*Can't open file home/results.txt: No such file or directory*
2) i have* send *results.txt and i have this error:
00.015016)   1633: Error (files-reg.c:982): File home/results.txt has bad
size 2117 (expect 1537)

*-> i have done the dumping process with -R option !*

3)* without -R *the restart on the destination works well :)

Thanks.




2015-02-04 10:42 GMT+01:00 Thouraya TH <thouraya87 at gmail.com>:

> Hello,
>
> I have done the same steps on another nodes and the process restarts well
> :)
>
> *Source:*
> root at g-71:/home# cd  /sys/fs/cgroup
> root at g-71:/sys/fs/cgroup# ls
> cgmanager  systemd
>
> *Destination: *
> root at g-91:/home/imgDir# cd  /sys/fs/cgroup
> root at g-91:/sys/fs/cgroup# ls
> cgmanager  systemd
>
> i'd like to redirect the result of test.sh in a file (./test.sh >
> results.txt), then dumping process on the source, sending imgDir to the
> destination
> i ask if i had to send the file results.txt to the destination or not ?
>
> Thanks a lot.
> Best Regards.
>
>
> 2015-02-03 15:22 GMT+01:00 Pavel Emelyanov <xemul at parallels.com>:
>
>> On 02/03/2015 04:49 PM, Thouraya TH wrote:
>>
>> > /I also asked for the cgroups on source and destination nodes, you only
>> > showed what's there in the image file./
>> >
>> > How can i get them ? the commad should i use ?
>>
>> Check the /sys/fs/cgroup directory.
>>
>> Anticipating future questions about cgroups:
>> https://www.kernel.org/doc/Documentation/cgroups/cgroups.txt
>>
>> Thanks,
>> Pavel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150204/c8ea5465/attachment.html>


More information about the CRIU mailing list