[CRIU] external mountpoint issue for docker

Bing X xiebingbing at gmail.com
Wed Jun 4 11:27:08 PDT 2014


OK, I find the error occurs at the line pivot_root

I modified this line to to move my container root to "./$odir"

my command is:

pivot_root
"/var/lib/docker/containers/a4aec40cc802b258990c538852387b14ec7f7404ca397c66f2ee6ff9862f4a16/root/"
"./$odir"

the error is: pivot_root: Invalid argument

any suggestion what's happening here?

thanks,
Bing



On Wed, Jun 4, 2014 at 11:38 AM, Pavel Emelyanov <xemul at parallels.com>
wrote:

> On 06/04/2014 07:35 PM, Bing X wrote:
> > thanks, I'll follow your suggestions. But one thing before that, I want
> to verify that if I
> > correctly modified the scripts (including run.sh, run_ns.sh).
> >
> > My understand is that the sample under /etc/mounts/ext/ is for mouting
> $current_dir to another
> > place,  binding it and then dumping.
>
> I can't find neither /etc/mounts/ext nor $current_dir in run*.sh scripts
> you sent.
>
> > For my purpose, I need to change it to my docker container root dir. Is
> this correct?
> >
> > thanks,
> > Bing
>



-- 
Thanks
Bing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140604/ab0dc588/attachment.html>


More information about the CRIU mailing list