<div dir="ltr"><div>Thanks a lot :)<br></div>Bests. <br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-09 10:08 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">On 02/04/2015 01:02 PM, Thouraya TH wrote:<br>
> 1) i have done the test *without sending results.txt<br>
> *<br>
> *restore.log*<br>
><br>
> (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%<br>
<span class="">> (00.014466) 1747: Restoring fd 0 (state -> prepare) 298,1 96%<br>
</span>> (00.014470) 1633: Error (files-reg.c:967): *Can't open file home/results.txt: No such file or directory<br>
><br>
><br>
> *<br>
> 2) i have*send *results.txt and i have this error:*<br>
> *00.015016) 1633: Error (files-reg.c:982): File home/results.txt has bad size 2117 (expect 1537)*<br>
<br>
The results.txt file size should be 1537 on restore.<br>
<br>
> *<br>
> *-> i have done the dumping process with -R option !<br>
> *<br>
><br>
> 3)*without -R *the restart on the destination works well :)*<br>
<br>
Yes, that's because with -R tasks on the dump side continue modifying the results.txt<br>
and its size changes from what it was at dump time.<br>
<br>
> *<br>
> Thanks. *<br>
> *<br>
> *<br>
><br>
> *<br>
> **<br>
> * *<br>
><br>
> 2015-02-04 10:42 GMT+01:00 Thouraya TH <<a href="mailto:thouraya87@gmail.com">thouraya87@gmail.com</a> <mailto:<a href="mailto:thouraya87@gmail.com">thouraya87@gmail.com</a>>>:<br>
<span class="">><br>
> Hello,<br>
><br>
> I have done the same steps on another nodes and the process restarts well :)<br>
><br>
</span>> *Source:*<br>
<span class="">> root@g-71:/home# cd /sys/fs/cgroup<br>
> root@g-71:/sys/fs/cgroup# ls<br>
> cgmanager systemd<br>
><br>
</span>> *Destination: *<br>
<span class="">> root@g-91:/home/imgDir# cd /sys/fs/cgroup<br>
> root@g-91:/sys/fs/cgroup# ls<br>
> cgmanager systemd<br>
><br>
> 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<br>
> i ask if i had to send the file results.txt to the destination or not ?<br>
><br>
> Thanks a lot.<br>
> Best Regards.<br>
><br>
><br>
</span>> 2015-02-03 15:22 GMT+01:00 Pavel Emelyanov <<a href="mailto:xemul@parallels.com">xemul@parallels.com</a> <mailto:<a href="mailto:xemul@parallels.com">xemul@parallels.com</a>>>:<br>
<div class="HOEnZb"><div class="h5">><br>
> On 02/03/2015 04:49 PM, Thouraya TH wrote:<br>
><br>
> > /I also asked for the cgroups on source and destination nodes, you only<br>
> > showed what's there in the image file./<br>
> ><br>
> > How can i get them ? the commad should i use ?<br>
><br>
> Check the /sys/fs/cgroup directory.<br>
><br>
> Anticipating future questions about cgroups:<br>
> <a href="https://www.kernel.org/doc/Documentation/cgroups/cgroups.txt" target="_blank">https://www.kernel.org/doc/Documentation/cgroups/cgroups.txt</a><br>
><br>
> Thanks,<br>
> Pavel<br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>