[CRIU] crtools error checkpoint/restore error ("Unable to open pstree.img")

Cyrill Gorcunov gorcunov at openvz.org
Mon Mar 25 17:00:30 EDT 2013


On Mon, Mar 25, 2013 at 10:29:17PM +0200, Kevin Wilson wrote:
> Hi,
> I use crtools-0.4 on x86_64 machine.
> 
> I try this:
> 
> ./crtools dump -D checkpoint -t 478
> 
> This creates this file:  checkpoint/inventory.img
> 

I bet there are were some error messages, right?
Because if only inventory file present in directory,
that means error happened and the description should
appear on output. Are you sure you saw no messages?

> 
> ./crtools restore -d  -D checkpoint -t 478
> 00.000616) Error (image.c:274): Unable to open pstree.img: No such
> file or directory
> 
> 
> Any idea what this error can be?
> 
> I am using kernel  3.9.0-rc1+, with CONFIG_CHECKPOINT_RESTORE=y
> 
> [root at localhost crtools-0.4]# ./crtools check
> (00.004829) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
> such file or directory)
> (00.008118) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
> such file or directory)
> (00.011671) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
> such file or directory)
> (00.014632) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
> such file or directory)
> (00.018063) Error (libnetlink.c:53): ERROR 2 reported by netlink
> Looks good.
> 
> (Notice the bottom line: Looks good!)

yup, this is a nit, i'll fix it, thanks!


More information about the CRIU mailing list