[CRIU] [RFC 0/3] Strip deleted postfix from mountpoints

Saied Kazemi saied at google.com
Mon Aug 10 11:04:26 PDT 2015


Hi Cyrill,

Applied the patches to the head as of today but unfortunately they didn't
fix the issue and I still get the following restore error:

(00.017142)      1:     Bind ./dev/null//deleted to ./proc/kcore
(00.017156)      1: Error (mount.c:2013): Can't mount at ./proc/kcore: Not
a directory
(00.036744) Error (cr-restore.c:1933): Restoring FAILED.

Examining mountpoint-11.img, I can see /null//deleted, so //deleted wasn't
stripped :(

--Saied


On Mon, Aug 10, 2015 at 1:34 AM, Cyrill Gorcunov <gorcunov at openvz.org>
wrote:

> This is a fast (and incomplete) fix for deleted mountpoints.
>
> Saied, could you give the series a shot and tell if it helps anyhow.
>
> Cyrill Gorcunov (3):
>   files-reg: Rework strip_deleted
>   files-reg: Make strip_deleted to return code on hit
>   proc-parse: Drop deleted postfix from the mountpoint root
>
>  files-reg.c  | 34 ++++++++++++++++++++++++++--------
>  proc_parse.c |  8 ++++++++
>  2 files changed, 34 insertions(+), 8 deletions(-)
>
> --
> 2.4.3
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150810/c1cf2318/attachment.html>


More information about the CRIU mailing list