[CRIU] Error (tty.c:193)

Pavel Emelyanov xemul at parallels.com
Tue Sep 29 06:30:39 PDT 2015


On 09/29/2015 04:17 PM, Prashant Chillabatte wrote:
> Yes Pavel,
> 
> I dont have file *home/prashanth/a.ou*t on restoring node, it is present in dumping node.

CRIU doesn't work with files, it only saves and restore of process' state. You should
bring your filesystem into the restore node yourself. Or, if you're using the live
migration, then you can look at the p.haul project we have, it will take care of the
fs as well.

> And yes i tried with arguments for "--inherit-fd".
> Argument was 'fd[%d]:<%s old path>' %d><new path> 
> 
> 'fd[3]:/home/prashanth/a.out' 3>/home/prashanth1/a.out

The inhrit-fd option doesn't have old-path and new-path argument, it just has one
and it won't help to open non-existing file :) Pzf, fix the above error first, i.e.
copy the filesystem on the destination node or use shared fs.

-- Pavel


More information about the CRIU mailing list