[CRIU] external mountpoint issue for docker

Pavel Emelyanov xemul at parallels.com
Thu Jun 5 01:53:17 PDT 2014


On 06/05/2014 01:02 AM, Bing X wrote:
> Then am I wrong on the root dir of my container? Or, if I'm right, how can I pivot_root it to $odir?

Make $odir being a mount point.

> thanks,
> Bing
> 
> 
> On Wed, Jun 4, 2014 at 4:32 PM, Pavel Emelyanov <xemul at parallels.com <mailto:xemul at parallels.com>> wrote:
> 
>     On 06/04/2014 10:27 PM, Bing X wrote:
>     > 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?
> 
>     The pivot_root() only works if the target directory is a mount point.
> 
>     > thanks,
>     > Bing
> 
> 
> 
> 
> -- 
> Thanks
> Bing




More information about the CRIU mailing list