<div dir="ltr">Yes Pavel,<div><br></div><div>I dont have file <b>home/prashanth/a.ou</b>t on restoring node, it is present in dumping node.<div>And yes i tried with arguments for "--inherit-fd".</div><div>Argument was 'fd[%d]:<%s old path>' %d><new path> </div><div><br></div><div>'fd[3]:/home/prashanth/a.out' 3>/home/prashanth1/a.out</div><div><br></div><div>Thanks & Regards</div><div>Prashanth Chillabatte</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 29, 2015 at 6:37 PM, Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 09/29/2015 01:39 PM, Prashant Chillabatte wrote:<br>
> Hi Cyrill, Pavel<br>
><br>
> Thank you for the replies.<br>
> Yes you got it right, i missed "--shell-job" option during restore.<br>
> After adding the option, during restore i further have this issues.<br>
><br>
</span>> *Error (files-reg.c:1024): Can't open file home/prashanth/a.out on restore: No such file or directory<br>
<br>
You don't have file home/prashanth/a.out on the node where you restore<br>
your images.<br>
<br>
> *Error (files-reg.c:967): Can't open file home/prashanth/a.out: No such file or directory*<br>
> *Error (cr-restore.c:238): Can't fixup VMA's fd*<br>
<span class="">> *Error (cr-restore.c:1838): Restoring FAILED.*<br>
><br>
</span>> *Note*: I tried resolving it using option*"--inherit-fd*", but was surprised<br>
> with the response "*criu: unrecognized option '--inherit-fd*' ".<br>
<br>
This option accepts an argument.<br>
<span class="im HOEnZb"><br>
> I am running my two Ubuntu-15.04-64bit nodes on VMware workstation.<br>
> CRIU version is the one available in the Ubuntu-15.04 distribution.<br>
><br>
> Any solutions or suggestions are appreciated.<br>
><br>
> Thanks & Regards,<br>
> Prashanth Chillabatte<br>
> +91-9742046818<br>
><br>
</span><div class="HOEnZb"><div class="h5">> On Tue, Sep 29, 2015 at 3:10 PM, Cyrill Gorcunov <<a href="mailto:gorcunov@gmail.com">gorcunov@gmail.com</a> <mailto:<a href="mailto:gorcunov@gmail.com">gorcunov@gmail.com</a>>> wrote:<br>
><br>
> On Tue, Sep 29, 2015 at 12:31:21PM +0300, Pavel Emelyanov wrote:<br>
> > On 09/29/2015 10:02 AM, Prashant Chillabatte wrote:<br>
> > > Hi,<br>
> > ><br>
> > > I just started using CRIU utility for migration. I am trying to migrate a c program run<br>
> > > from a terminal with option "--shell-job" included in the dump and restore commands.<br>
> > > I have this below mentioned error on restoring the process on another node after successful dump.<br>
> > ><br>
> > > Error:<br>
> > > *Error (tty.c:193): tty: Found slave peer index 1 without correspond master peer*<br>
> ><br>
> > This message appears under the if (!opts.shell_job) check :) Are you sure you<br>
> > used the option restore time?<br>
><br>
> Yes, at dump time we've grabbed slave peer and @opts.shell_job must have been<br>
> passed (otherwise we would have failed on dump) but on restore with lack of<br>
> this option we meet slave without master peer and report the problem, so<br>
> try to run restore with --shell-job option.<br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>