[CRIU] fsnotify: Can't open file handle for 0x00800001:0x0000000000027570: Stale file handle

Cyrill Gorcunov gorcunov at gmail.com
Wed Apr 23 07:07:29 PDT 2014


On Wed, Apr 23, 2014 at 09:56:56PM +0800, linuxchyu at sina.com wrote:
>    Hello-L-NOT I caught an error when i do the migration operation of LXC. I
>    copy all the disk files and dumped images of a CT to a dst host, when i do
>    the restore operation in the dst host, some errors happened (there is no
>    such error in the src host to do the same restore operation), and error
>    logs are :
>    (00.797923) 1: Restoring size 0x10000 for 0x7b6f
>    (00.797950) 1: Wait fdinfo pid=1 fd=4
>    (00.797965) 1: Send fd 5 to /crtools-fd-1-4
>    (00.798030) 1: Create fd for 3
>    (00.798057) 1: Restoring fd 4 (state -> create)
>    (00.798070) 1: Creating pipe pipe_id=0x7b6f id=0x3
>    (00.798080) 1: Waiting fd for 4
>    (00.798131) 1: Create fd for 4
>    (00.798155) 1: Restoring fd 5 (state -> create)
>    (00.798182) 1: fsnotify: Restore 1 wd for 0x00000004
>    (00.798220) 1: fsnotify: Opening fhandle 800001:3ef4955800027570...
>    (00.798278) 1: Error (fsnotify.c:124): fsnotify: Can't open file handle
>    for 0x00800001:0x0000000000027570: Stale file handle
>    (00.845082) Error (cr-restore.c:1036): 4087 exited, status=255
>    (00.845134) Error (cr-restore.c:1588): Restoring FAILED. 
>    Thanks !

Could you please attach complete dump and restore logs? (add -v4 parameter
to criu). Fsnotify code known to be quite sensitive to change of partitioning
of filesystem, so I guess something is missing on the destination node.

	Cyrill


More information about the CRIU mailing list